diff options
Diffstat (limited to 'src/lib/libssl/ssl_both.c')
| -rw-r--r-- | src/lib/libssl/ssl_both.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_both.c b/src/lib/libssl/ssl_both.c index 637f34582f..fe7173e8a4 100644 --- a/src/lib/libssl/ssl_both.c +++ b/src/lib/libssl/ssl_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_both.c,v 1.36 2021/10/23 08:34:36 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_both.c,v 1.37 2021/10/23 13:12:55 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 | * |
| @@ -368,7 +368,7 @@ ssl3_output_cert_chain(SSL *s, CBB *cbb, CERT_PKEY *cpk) | |||
| 368 | X509_V_FLAG_LEGACY_VERIFY); | 368 | X509_V_FLAG_LEGACY_VERIFY); |
| 369 | X509_verify_cert(xs_ctx); | 369 | X509_verify_cert(xs_ctx); |
| 370 | ERR_clear_error(); | 370 | ERR_clear_error(); |
| 371 | chain = xs_ctx->chain; | 371 | chain = X509_STORE_CTX_get0_chain(xs_ctx); |
| 372 | } | 372 | } |
| 373 | 373 | ||
| 374 | for (i = 0; i < sk_X509_num(chain); i++) { | 374 | for (i = 0; i < sk_X509_num(chain); i++) { |
