diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/ssl_cert.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_cert.c b/src/lib/libssl/ssl_cert.c index b5c9fe5dce..246a010180 100644 --- a/src/lib/libssl/ssl_cert.c +++ b/src/lib/libssl/ssl_cert.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_cert.c,v 1.96 2022/06/28 20:42:22 tb Exp $ */ | 1 | /* $OpenBSD: ssl_cert.c,v 1.97 2022/06/28 20:43:21 tb 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 | * |
@@ -253,6 +253,10 @@ ssl_cert_dup(SSL_CERT *cert) | |||
253 | } | 253 | } |
254 | } | 254 | } |
255 | 255 | ||
256 | ret->security_cb = cert->security_cb; | ||
257 | ret->security_level = cert->security_level; | ||
258 | ret->security_ex_data = cert->security_ex_data; | ||
259 | |||
256 | /* | 260 | /* |
257 | * ret->extra_certs *should* exist, but currently the own certificate | 261 | * ret->extra_certs *should* exist, but currently the own certificate |
258 | * chain is held inside SSL_CTX | 262 | * chain is held inside SSL_CTX |