diff options
Diffstat (limited to 'demos/bio/sconnect.c')
-rw-r--r-- | demos/bio/sconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c index 6e4ca6596b..865d503956 100644 --- a/demos/bio/sconnect.c +++ b/demos/bio/sconnect.c @@ -43,7 +43,7 @@ char *argv[]; /* Setup all the global SSL stuff */ OpenSSL_add_ssl_algorithms(); - ssl_ctx = SSL_CTX_new(SSLv23_client_method()); + ssl_ctx = SSL_CTX_new(TLS_client_method()); /* Lets make a SSL structure */ ssl = SSL_new(ssl_ctx); |