search for: tls_server_method

Displaying 3 results from an estimated 3 matches for "tls_server_method".

Did you mean: tlsv1_server_method
2018 May 29
1
[PATCH v2 1/1] Don't use deprecated API with openssl 1.1+
...library */ +#endif } void tls_shutdown(void) { @@ -71,7 +73,11 @@ tls_ctx_t *tls_ctx_new(const char *cert_file, const char *key_file, const char * if (!ctx) return NULL; +#if OPENSSL_VERSION_NUMBER < 0x10100000L method = SSLv23_server_method(); +#else + method = TLS_server_method(); +#endif ctx->refc = 1; ctx->ctx = SSL_CTX_new(method); -- 2.16.1
2018 Jul 12
0
2.7.4 uses deprecated back level of TLS
...[-Wdeprecated-declarations] ssl_method = TLSv1_client_method(); ^~~~~~~~~~ A similar warning about TLSv1_server_method appears at netssl.c:392. I understand from https://users-cs.au.dk/sortie/sortix/release/nightly/man/man3/TLSv1_server_method.3.html that version flexible TLS_server_method() is now preferred. See Issue 575 for more detail. https://github.com/networkupstools/nut/issues/575 Roger
2018 May 29
2
[PATCH] Don't use deprecated API with openssl 1.1+
OpenSSL 1.1.0 has deprecated SSL_load_error_strings and SSL_library_init. Initialization is done automatically, so they're not needed with icecast. Fixes issue #2318 Signed-off-by: Eneas U de Queiroz <cote2004-github at yahoo.com> --- src/tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tls.c b/src/tls.c index 36edd86..6bd1aee 100644 --- a/src/tls.c +++ b/src/tls.c @@