OpenSSL 3

Julien ÉLIE julien at trigofacile.com
Thu Jun 17 20:55:12 UTC 2021


The Doctor,

>> Anyone trying openssl 3 again INN ?
> 
> I've just built OpenSSL 3.0-alpha 5, and then INN against it and I 
> confirm it works fine as-is.

Still works fine with beta 1 release of OpenSSL 3.0.


> /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...

c99-c11-compat warning now silented for the OpenSSL headers.
Anyway, __attribute__((noreturn)) is used when the compiler does not 
have C11 features.
Piece of code from OpenSSL:

   # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
   #  define ossl_noreturn _Noreturn
   # elif defined(__GNUC__) && __GNUC__ >= 2
   #  define ossl_noreturn __attribute__((noreturn))
   # else
   #  define ossl_noreturn
   # endif

-- 
Julien ÉLIE

« Open the black window and type text, to fix the network. »


More information about the inn-workers mailing list