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

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

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);
         ^
@bagder bagder added the SSL/TLS label Apr 12, 2016
@bagder bagder added a commit that closed this issue Apr 21, 2016
@bagder bagder openssl: builds with OpenSSL 1.1.0-pre5
The RSA, DSA and DH structs are now opaque and require use of new APIs

Fixes #763
cfe16c2
@bagder bagder closed this in cfe16c2 Apr 21, 2016
@noloader
noloader commented Nov 8, 2016

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

Lol... It put milk up my nose.

@whocares0101 whocares0101 referenced this issue in RetroShare/RetroShare Dec 7, 2016
Open

Does not compile with openssl 1.1.0c #590

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