OpenSSL 1.1 ‘SSLEAY_VERSION’ undeclared

Jouni Malinen j at w1.fi
Thu Dec 3 14:00:50 PST 2015


On Wed, Dec 02, 2015 at 04:31:22AM -0600, Nathan Royce wrote:
>   CC  ../src/eap_server/eap_server_tls_common.c
> ../src/crypto/tls_openssl.c: In function ‘tls_get_library_version’:
> ../src/crypto/tls_openssl.c:5017:22: error: ‘SSLEAY_VERSION’ undeclared (first use in this function)
>        SSLeay_version(SSLEAY_VERSION));
>                           ^
> ../src/crypto/tls_openssl.c:5017:22: note: each undeclared identifier is reported only once for each function it appears in
> Makefile:980: recipe for target '../src/crypto/tls_openssl.o' failed
> ```

> If someone would like to start creating patches for the next OpenSSL version 1.1, I'm up for testing builds.

I went through that effort during the summer, but it looks like the
OpenSSL team decided to modify the API a month ago by renaming these
version function/defines.. I'll update tls_openssl.c to match that for
builds against OpenSSL >=1.1.0 builds.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list