diff options
Diffstat (limited to 'demos/ssl/cli.cpp')
-rw-r--r-- | demos/ssl/cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ssl/cli.cpp b/demos/ssl/cli.cpp index cb5d329ea4..3459f0f93a 100644 --- a/demos/ssl/cli.cpp +++ b/demos/ssl/cli.cpp @@ -38,7 +38,7 @@ void main () SSL_METHOD *meth; SSLeay_add_ssl_algorithms(); - meth = SSLv23_client_method(); + meth = TLS_client_method(); SSL_load_error_strings(); ctx = SSL_CTX_new (meth); CHK_NULL(ctx); |