diff options
Diffstat (limited to 'src/usr.bin/openssl/s_cb.c')
-rw-r--r-- | src/usr.bin/openssl/s_cb.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/s_cb.c b/src/usr.bin/openssl/s_cb.c index 73f45c25c5..d503b8cf27 100644 --- a/src/usr.bin/openssl/s_cb.c +++ b/src/usr.bin/openssl/s_cb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s_cb.c,v 1.20 2022/08/31 07:12:30 tb Exp $ */ | 1 | /* $OpenBSD: s_cb.c,v 1.21 2023/04/14 15:27:13 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 | * |
@@ -189,11 +189,8 @@ verify_callback(int ok, X509_STORE_CTX * ctx) | |||
189 | BIO_printf(bio_err, "\n"); | 189 | BIO_printf(bio_err, "\n"); |
190 | break; | 190 | break; |
191 | case X509_V_ERR_NO_EXPLICIT_POLICY: | 191 | case X509_V_ERR_NO_EXPLICIT_POLICY: |
192 | policies_print(bio_err, ctx); | ||
193 | break; | 192 | break; |
194 | } | 193 | } |
195 | if (err == X509_V_OK && ok == 2) | ||
196 | policies_print(bio_err, ctx); | ||
197 | 194 | ||
198 | BIO_printf(bio_err, "verify return:%d\n", ok); | 195 | BIO_printf(bio_err, "verify return:%d\n", ok); |
199 | return (ok); | 196 | return (ok); |