diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/verify.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr.bin/openssl/verify.c b/src/usr.bin/openssl/verify.c index 95e3fa02eb..22b5aa663c 100644 --- a/src/usr.bin/openssl/verify.c +++ b/src/usr.bin/openssl/verify.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: verify.c,v 1.12 2020/11/03 18:47:19 tb Exp $ */ | 1 | /* $OpenBSD: verify.c,v 1.13 2020/11/03 18:50:25 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 | * |
| @@ -324,14 +324,14 @@ verify_main(int argc, char **argv) | |||
| 324 | ERR_clear_error(); | 324 | ERR_clear_error(); |
| 325 | 325 | ||
| 326 | if (verify_config.untfile) { | 326 | if (verify_config.untfile) { |
| 327 | untrusted = load_certs(bio_err, verify_config.untfile, FORMAT_PEM, | 327 | untrusted = load_certs(bio_err, verify_config.untfile, |
| 328 | NULL, "untrusted certificates"); | 328 | FORMAT_PEM, NULL, "untrusted certificates"); |
| 329 | if (!untrusted) | 329 | if (!untrusted) |
| 330 | goto end; | 330 | goto end; |
| 331 | } | 331 | } |
| 332 | if (verify_config.trustfile) { | 332 | if (verify_config.trustfile) { |
| 333 | trusted = load_certs(bio_err, verify_config.trustfile, FORMAT_PEM, | 333 | trusted = load_certs(bio_err, verify_config.trustfile, |
| 334 | NULL, "trusted certificates"); | 334 | FORMAT_PEM, NULL, "trusted certificates"); |
| 335 | if (!trusted) | 335 | if (!trusted) |
| 336 | goto end; | 336 | goto end; |
| 337 | } | 337 | } |
| @@ -347,8 +347,8 @@ verify_main(int argc, char **argv) | |||
| 347 | ret = -1; | 347 | ret = -1; |
| 348 | } else { | 348 | } else { |
| 349 | do { | 349 | do { |
| 350 | if (1 != check(cert_ctx, *cert_files++, untrusted, trusted, | 350 | if (1 != check(cert_ctx, *cert_files++, untrusted, |
| 351 | crls)) | 351 | trusted, crls)) |
| 352 | ret = -1; | 352 | ret = -1; |
| 353 | } while (*cert_files != NULL); | 353 | } while (*cert_files != NULL); |
| 354 | } | 354 | } |
