New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OpenSSL 1.1.X #80

Closed
moteus opened this Issue Sep 8, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@moteus

moteus commented Sep 8, 2016

I try build LuaSec 0.6 (using LuaRocks) and got

c:/luarocks/x64/external/include\openssl/lhash.h(198): warning C4090: 'function': different 'const' qualifiers
src/x509.c(296): error C2037: left of 'object' specifies undefined struct/union 'X509_extension_st'
src/x509.c(296): warning C4047: 'function': 'ASN1_OBJECT *' differs in levels of indirection from 'int'
src/x509.c(296): warning C4024: 'push_asn1_objname': different types for formal and actual parameter 2
src/x509.c(296): error C2198: 'push_asn1_objname': too few arguments for call
src/x509.c(300): error C2037: left of 'object' specifies undefined struct/union 'X509_extension_st'
src/x509.c(300): error C2198: 'push_asn1_objname': too few arguments for call
src/x509.c(407): error C2037: left of 'type' specifies undefined struct/union 'evp_pkey_st'
src/x509.c(407): error C2198: 'EVP_PKEY_type': too few arguments for call

Seems openssl removes defenition of X509_extension_st and leave only declaration in public API.

@brunoos

This comment has been minimized.

Owner

brunoos commented Sep 26, 2016

Can you try again using the master?

Some functions were marked as depricated, but it seems to work for now.

@moteus

This comment has been minimized.

moteus commented Sep 29, 2016

Sorry for delay.
Now I can build it Windows with OpenSSL 1.1.0 without any errors.

But only little problem with lib names. Now they names libcrypto.lib and libssl.lib instead of libeay32.lib and ssleay32.lib.

@moteus moteus closed this Sep 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment