OpenSSL 3

Julien ÉLIE julien at trigofacile.com
Sun Aug 2 19:11:54 UTC 2020


Hi The Doctor,

> Anyone trying openssl 3 again INN ?

https://wiki.openssl.org/index.php/OpenSSL_3.0
   "Upgrading to OpenSSL 3.0 from OpenSSL 1.1.1 should be relatively 
straight forward in most cases."

The good news is that INN 2.6.3 added support for OpenSSL 1.1.x :)
I've just built OpenSSL 3.0-alpha 5, and then INN against it and I 
confirm it works fine as-is.


Just 2 spurious warnings originating from OpenSSL files.  Could you 
mention it to OpenSSL developers so that they fix them? (notably the 
second one)

/home/iulius/work/openssl-3.0.0-alpha5/include/openssl/crypto.h:371:20: 
attention: le C99 ISO ne supporte pas « _Noreturn » [-Wc99-c11-compat]
   371 | ossl_noreturn void OPENSSL_die(const char *assertion, const 
char *file, int line);
       |                    ^~~~~~~~~~~

=> maybe building INN with the "-Wc99-c11-compat" GCC warning is not 
useful and could be removed...



/home/iulius/work/openssl-3.0.0-alpha5/include/openssl/err.h:223:51: 
attention:paramètre « errcode » inutilisé [-Wunused-parameter]
   223 | static ossl_inline int ERR_GET_FUNC(unsigned long errcode)
       |                                     ~~~~~~~~~~~~~~^~~~~~~

=> static ossl_inline int ERR_GET_FUNC(ossl_unused unsigned long errcode)
fixes the warning.

-- 
Julien ÉLIE

« Video meliora proboque deteriora sequor. » (Ovide)


More information about the inn-workers mailing list