Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libsofia-sip-ua/stun/stun.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ int stun_tls_callback(su_root_magic_t *m, su_wait_t *w, su_wakeup_arg_t *arg)
/* openssl initiation */
SSLeay_add_ssl_algorithms();
SSL_load_error_strings();
ctx = SSL_CTX_new(TLSv1_client_method());
ctx = SSL_CTX_new(TLS_client_method());
self->sh_ctx = ctx;

if (ctx == NULL) {
Expand Down
2 changes: 1 addition & 1 deletion m4/sac-openssl.m4
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else
HAVE_OPENSSL=0
AC_MSG_WARN(OpenSSL crypto library was not found))

AC_CHECK_LIB(ssl, TLSv1_method,,
AC_CHECK_LIB(ssl, TLS_method,,
HAVE_TLS=0
AC_MSG_WARN(OpenSSL protocol library was not found))
],[AC_MSG_WARN(OpenSSL include files were not found)],[#include <openssl/safestack.h>])
Expand Down
Loading