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

OpenSSL 1.1.x makes RSA, DSA and DH structs opaque #763

Closed
bagder opened this Issue Apr 12, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@bagder
Member

bagder commented Apr 12, 2016

... and it breaks the curl build (again). Using openssl from their git repository (I used OpenSSL_1_1_0-pre4-277-g9d5ac95):

get_cert_chain’:
vtls/openssl.c:2403:46: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
         BIO_printf(mem, "%d", BN_num_bits(rsa->n));
                                              ^
vtls/openssl.c:2240:11: error: dereferencing pointer to incomplete type ‘DSA {aka struct dsa_st}’
   if(_type->_name) { \
           ^
vtls/openssl.c:2424:9: note: in expansion of macro ‘print_pubkey_BN’
         print_pubkey_BN(dsa, p, i);
         ^
vtls/openssl.c:2240:11: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
   if(_type->_name) { \
           ^
vtls/openssl.c:2439:9: note: in expansion of macro ‘print_pubkey_BN’
         print_pubkey_BN(dh, p, i);
         ^
@noloader

This comment has been minimized.

Show comment
Hide comment
@noloader

noloader Nov 8, 2016

... and it breaks the curl build (again)

Lol... It put milk up my nose.

noloader commented Nov 8, 2016

... and it breaks the curl build (again)

Lol... It put milk up my nose.

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