envoyproxy / envoy-openssl

Envoy OpenSSL extensions
Apache License 2.0
44 stars 38 forks source link

Tidy up some bssl-compat compiler warnings #163

Closed tedjpoole closed 1 month ago

tedjpoole commented 1 month ago

The ErrTest.test_SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM test was failing to compile because it was referring to SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM rather than the prefixed ossl_SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM.

The previously generated implementations of SSL_CTX_get_session_cache_mode() and X509_STORE_CTX_get0_chain() have been replaced with hand written ones, with the addition of some const casting to remove compiler warnings.

Finally, the OpenSSL version is increased from 3.0.8 to 3.0.13