OpenSSL 1.1 ‘SSLEAY_VERSION’ undeclared

Nathan Royce naroyce at hotmail.com
Wed Dec 2 02:31:22 PST 2015


Was having this issue in bitcoin as well and got that all worked out there (https://github.com/bitcoin/bitcoin/issues/7080)
```
  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
```

With bitcoin, there were a total of 3 issues relating to OpenSSL 1.1:
OpenSSL 1.1: libbitcoinconsensus_la-ecwrapper BN_zero_ex(zero) void to bool
    https://github.com/bitcoin/bitcoin/issues/6994
OpenSSL 1.1 - SSLEAY_VERSION Not Declared In This Scope
    https://github.com/bitcoin/bitcoin/issues/7080
OpenSSL 1.1 - tests* BIGNUM - BN_init -> BN_new
    https://github.com/bitcoin/bitcoin/issues/7086

If someone would like to start creating patches for the next OpenSSL version 1.1, I'm up for testing builds.
The github links are to the (now closed) issues that were patched and have the solutions (and openssl links to the changes), so that should help ease the patch process. 		 	   		  


More information about the Hostap mailing list