Displaying 3 results from an estimated 3 matches for "ssl_method".
Did you mean:
sasl_method
2018 Jan 10
3
Can't compile Asterisk on Fedora server
...passing argument 1 of 'SSL_CTX_new' makes pointer
from integer without a cast [-Wint-conversion]
In file included from
/usr/src/asterisk-certified-13.13-cert6/include/asterisk/tcptls.h:66:0,
from tcptls.c:44:
/usr/include/openssl/ssl.h:1338:17: note: expected 'const SSL_METHOD * {aka
const struct ssl_method_st *}' but argument is of type 'int'
__owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
^~~~~~~~~~~
tcptls.c:825:4: warning: 'SSLv3_client_method' is deprecated
[-Wdeprecated-declarations]
cfg->ssl_ctx = SSL_CTX_new(SS...
2017 Nov 16
0
[PATCH] [libshout] tls: compile with OpenSSL 1.1.0
...ls.c
@@ -24,6 +24,7 @@
#endif
#include <shout/shout.h>
+#include <string.h>
#include "shout_private.h"
#ifndef XXX_HAVE_X509_check_host
@@ -61,16 +62,20 @@ shout_tls_t *shout_tls_new(shout_t *self, sock_t socket)
static inline int tls_setup(shout_tls_t *tls)
{
- SSL_METHOD *meth;
+ const SSL_METHOD *meth;
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
SSL_library_init();
SSL_load_error_strings();
SSLeay_add_all_algorithms();
SSLeay_add_ssl_algorithms();
- meth = TLSv1_client_method();
+ meth = SSLv2...
2018 Jul 12
0
2.7.4 uses deprecated back level of TLS
...level of TLS.
On Debian stretch, after ./configure --with-openssl, make produces the following
warning:
upsclient.c: In function 'upscli_init':
upsclient.c:322:2: warning: 'TLSv1_client_method' is deprecated
[-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 I...