ustream SSL wrapper (mirror)
Find a file
Andre Heider 99bd3d2b16
ustream-openssl: fix compilation with OPENSSL_NO_DEPRECATED
SSL_get_peer_certificate() is deprecated, OpenSSL v3.0 added
SSL_get0_peer_certificate() and SSL_get1_peer_certificate().

Use the latter since the return value is explicitely X509_free()ed
here, see [0].

WolfSSL doesn't implement the new variants.

[0] https://www.openssl.org/docs/manmaster/man3/SSL_get_peer_certificate.html

Signed-off-by: Andre Heider <a.heider@gmail.com>
2024-07-28 08:06:21 +00:00
.gitignore add client example code 2014-03-15 16:16:24 +01:00
.gitlab-ci.yml ci: fix building with i.MX6 SDK 2022-04-07 10:36:44 +02:00
CMakeLists.txt mbedtls: fix build on non-linux systems 2024-03-26 19:40:58 +01:00
example.crt Update example certificate & key, fix typo 2019-11-01 18:42:10 +01:00
example.key Update example certificate & key, fix typo 2019-11-01 18:42:10 +01:00
openssl_bio_compat.h Revert "ustream-ssl: openssl: fix bio memory leak" 2020-12-08 22:18:16 +00:00
ustream-example-client.c Update example certificate & key, fix typo 2019-11-01 18:42:10 +01:00
ustream-example-server.c give the main context a type instead of making it void * 2014-03-15 14:26:11 +01:00
ustream-internal.h ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-io-openssl.c ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-io-wolfssl.c ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-mbedtls.c ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-mbedtls.h ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-openssl.c ustream-openssl: fix compilation with OPENSSL_NO_DEPRECATED 2024-07-28 08:06:21 +00:00
ustream-openssl.h ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-ssl.c ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00
ustream-ssl.h ustream-ssl: add support for using a fd instead of ustream as backing 2024-04-19 16:47:10 +02:00