Re: OpenSSL 3

Julien ÉLIE <[email protected]>
Newsgroups gmane.network.inn
Message-ID <[email protected]>
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. »
_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.