[HostAPD] Are we ready for OpenSSL 1.1.x?

Sergio NNX sfhacker at hotmail.com
Fri Feb 9 09:06:07 PST 2018


Ciao.

I'm building hostap 2.6 from source with OpenSSL 1.1.1 installed and I get the following compilation issues:



tls_openssl.c:342:36: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
   (struct cryptoapi_rsa_data *) rsa->meth->app_data;
                                    ^~
In file included from tls_openssl.c:20:0:
tls_openssl.c:349:10: error: 'RSA_F_RSA_EAY_PRIVATE_ENCRYPT' undeclared (first use in this function)
   RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT,
          ^
tls_openssl.c:349:10: note: each undeclared identifier is reported only once for each function it appears in
tls_openssl.c: In function 'tls_cryptoapi_cert':
tls_openssl.c:505:30: error: dereferencing pointer to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
  rsa_meth = os_zalloc(sizeof(*rsa_meth));
                              ^~~~~~~~~
tls_openssl.c:565:16: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'
  pub_rsa = cert->cert_info->key->pkey->pkey.rsa;
                ^~

Is there any patch available?

Thanks in advance.

P.S.: For some unknown reason I cannot post to the mailing list.
     


More information about the Hostap mailing list