diff options
Diffstat (limited to 'demos/bio/client-conf.c')
-rw-r--r-- | demos/bio/client-conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/bio/client-conf.c b/demos/bio/client-conf.c index b75088a758..2a78315165 100644 --- a/demos/bio/client-conf.c +++ b/demos/bio/client-conf.c @@ -37,7 +37,7 @@ int main(int argc, char **argv) goto end; } - ctx = SSL_CTX_new(SSLv23_client_method()); + ctx = SSL_CTX_new(TLS_client_method()); cctx = SSL_CONF_CTX_new(); SSL_CONF_CTX_set_flags(cctx, SSL_CONF_FLAG_CLIENT); SSL_CONF_CTX_set_flags(cctx, SSL_CONF_FLAG_FILE); |