siemens / libsecutils

Wrapper library for commonly used OpenSSL features, providing a simpler, more application-oriented API.
Other
5 stars 4 forks source link

Cannot compile on Windows and Visual Studio 2022 #59

Open mendoza-dev opened 4 months ago

mendoza-dev commented 4 months ago

I am trying to use the gencmp client on a cross platform solution (Linux / windows) but unfortunately i cannot make it compile on windows due to some errors:

Also on linux which was able to compile the solution I was no able to 'use' the libgencmp due to some mismatches in the documentation such as 'STORE_load()' method that in the documentation examples the method requires two attributes but when trying to compile it shows an error that requires THREE attributes, is it possible to have a reliable example to start working with the library? cmake result vs compilation result STORE_load documentation STORE_load terminal error

kiron-mx commented 4 months ago

The documentation has been updated with the new API description of STORE_load() in commit https://github.com/siemens/gencmpclient/commit/905117c7bafc596f9c3daac3aa4b97f16be23899

DDvO commented 4 months ago

So the second part of the issue report above was already solved - just make sure to pull the latest version to take advantage of that. Several examples of using STORE_load() can be found in src/cmpClient.c.