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

Sergio NNX sfhacker at hotmail.com
Tue Feb 20 16:11:52 PST 2018


Oh dear!

1.- Build and install OpenSSL 1.1.1-xxxxxxxx
2.- Hostap 2.6 or master branch
3.- make all


tls_openssl.c: In function 'cryptoapi_rsa_priv_enc':
tls_openssl.c:347: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:354:10: error: 'RSA_F_RSA_EAY_PRIVATE_ENCRYPT' undeclared (first use in this function)
   RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT,
          ^
tls_openssl.c:354: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:510:30: error: dereferencing pointer to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}'
  rsa_meth = os_zalloc(sizeof(*rsa_meth));
                              ^~~~~~~~~
tls_openssl.c:570:16: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'
  pub_rsa = cert->cert_info->key->pkey->pkey.rsa;
                ^~
tls_openssl.c: In function 'tls_init':
tls_openssl.c:1040:13: error: 'TLS_DEFAULT_CIPHERS' undeclared (first use in this function)
   ciphers = TLS_DEFAULT_CIPHERS;
             ^~~~~~~~~~~~~~~~~~~



From: Jouni Malinen <j at w1.fi>
Sent: Saturday, 17 February 2018 10:41 PM
To: Sergio NNX
Cc: hostap at lists.infradead.org
Subject: Re: [HostAPD] Are we ready for OpenSSL 1.1.x?
  

On Fri, Feb 09, 2018 at 05:06:07PM +0000, Sergio NNX wrote:
> I'm building hostap 2.6 from source with OpenSSL 1.1.1 installed and I get the following compilation issues:

What do you mean with OpenSSL 1.1.1? There is no such release.. Is this
a reference to some specific snapshot/test build of OpenSSL?

The current snapshot of the master branch in git://w1.fi/hostap.git
works fine with OpenSSL 1.1.0 releases and the 1.1.1-pre1 test build.

-- 
Jouni Malinen                                            PGP id EFC895FA
      


More information about the Hostap mailing list