diff options
Diffstat (limited to 'demos/bio/server-arg.c')
-rw-r--r-- | demos/bio/server-arg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/bio/server-arg.c b/demos/bio/server-arg.c index b188f6a4ed..242ca6c0af 100644 --- a/demos/bio/server-arg.c +++ b/demos/bio/server-arg.c @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) /* Add ciphers and message digests */ OpenSSL_add_ssl_algorithms(); - ctx = SSL_CTX_new(SSLv23_server_method()); + ctx = SSL_CTX_new(TLS_server_method()); cctx = SSL_CONF_CTX_new(); SSL_CONF_CTX_set_flags(cctx, SSL_CONF_FLAG_SERVER); |