diff options
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 3c7bdfd265..cfd5c9bfb8 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.274 2021/10/23 16:29:15 beck Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.275 2021/10/23 20:42:50 beck 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 | * |
@@ -900,6 +900,12 @@ SSL_get_peer_cert_chain(const SSL *s) | |||
900 | return (r); | 900 | return (r); |
901 | } | 901 | } |
902 | 902 | ||
903 | STACK_OF(X509) * | ||
904 | SSL_get0_verified_chain(const SSL *s) | ||
905 | { | ||
906 | return s->internal->verified_chain; | ||
907 | } | ||
908 | |||
903 | /* | 909 | /* |
904 | * Now in theory, since the calling process own 't' it should be safe to | 910 | * Now in theory, since the calling process own 't' it should be safe to |
905 | * modify. We need to be able to read f without being hassled | 911 | * modify. We need to be able to read f without being hassled |