diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index acb34e28af..6ef2083f52 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_lib.c,v 1.216 2020/05/23 11:30:12 tb Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.217 2020/05/23 12:14:52 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1743,6 +1743,7 @@ SSL_CTX_new(const SSL_METHOD *meth) | |||
1743 | ret->method = meth; | 1743 | ret->method = meth; |
1744 | ret->internal->min_version = meth->internal->min_version; | 1744 | ret->internal->min_version = meth->internal->min_version; |
1745 | ret->internal->max_version = meth->internal->max_version; | 1745 | ret->internal->max_version = meth->internal->max_version; |
1746 | ret->internal->mode = SSL_MODE_AUTO_RETRY; | ||
1746 | 1747 | ||
1747 | ret->cert_store = NULL; | 1748 | ret->cert_store = NULL; |
1748 | ret->internal->session_cache_mode = SSL_SESS_CACHE_SERVER; | 1749 | ret->internal->session_cache_mode = SSL_SESS_CACHE_SERVER; |