This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit faf9745538c18f9c93b211597c60a0f99342c091
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Fri Aug 12 09:02:16 2022 +0100
emile - fix deprecated warning and move ssl func
TLSv1_server/client_method -> TLS_server/client_method
openssl is complaining about this. back to clean warning-free build.
---
src/lib/emile/emile_cipher_openssl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/emile/emile_cipher_openssl.c b/src/lib/emile/emile_cipher_openssl.c
index 7fed417d3f..7dd2033db1 100644
--- a/src/lib/emile/emile_cipher_openssl.c
+++ b/src/lib/emile/emile_cipher_openssl.c
@@ -333,7 +333,7 @@ emile_cipher_server_listen(Emile_Cipher_Type t)
break;
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (LIBRESSL_VERSION_NUMBER < 0x3050000fL)
case EMILE_TLSv1:
- r->ssl_ctx = SSL_CTX_new(TLSv1_server_method());
+ r->ssl_ctx = SSL_CTX_new(TLS_server_method());
break;
#endif
default:
@@ -781,7 +781,7 @@ emile_cipher_server_connect(Emile_Cipher_Type t)
break;
case EMILE_TLSv1:
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (LIBRESSL_VERSION_NUMBER < 0x3050000fL)
- r->ssl_ctx = SSL_CTX_new(TLSv1_client_method());
+ r->ssl_ctx = SSL_CTX_new(TLS_client_method());
break;
#endif
default:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.