diff options
| author | jsing <> | 2020-11-03 17:43:01 +0000 |
|---|---|---|
| committer | jsing <> | 2020-11-03 17:43:01 +0000 |
| commit | 51da306704ed93f75531361aaa9b7f9cec2bb37f (patch) | |
| tree | c166a6b7a886d5520db2032688877af24c4d3865 | |
| parent | 6ab2d3e333f5e920dc9fb098a4969d5a4f151221 (diff) | |
| download | openbsd-51da306704ed93f75531361aaa9b7f9cec2bb37f.tar.gz openbsd-51da306704ed93f75531361aaa9b7f9cec2bb37f.tar.bz2 openbsd-51da306704ed93f75531361aaa9b7f9cec2bb37f.zip | |
Fix bad indent.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_verify.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509/x509_verify.c b/src/lib/libcrypto/x509/x509_verify.c index 6ab1cad2ad..c3923a88d5 100644 --- a/src/lib/libcrypto/x509/x509_verify.c +++ b/src/lib/libcrypto/x509/x509_verify.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_verify.c,v 1.17 2020/11/03 17:22:45 jsing Exp $ */ | 1 | /* $OpenBSD: x509_verify.c,v 1.18 2020/11/03 17:43:01 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -333,12 +333,11 @@ x509_verify_consider_candidate(struct x509_verify_ctx *ctx, X509 *cert, | |||
| 333 | return 0; | 333 | return 0; |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | |||
| 337 | if (!x509_verify_parent_signature(candidate, cert, cert_md, | 336 | if (!x509_verify_parent_signature(candidate, cert, cert_md, |
| 338 | &ctx->error)) { | 337 | &ctx->error)) { |
| 339 | if (!x509_verify_cert_error(ctx, candidate, depth, | 338 | if (!x509_verify_cert_error(ctx, candidate, depth, |
| 340 | ctx->error, 0)) | 339 | ctx->error, 0)) |
| 341 | return 0; | 340 | return 0; |
| 342 | } | 341 | } |
| 343 | 342 | ||
| 344 | if (!x509_verify_cert_valid(ctx, candidate, current_chain)) | 343 | if (!x509_verify_cert_valid(ctx, candidate, current_chain)) |
| @@ -460,8 +459,8 @@ x509_verify_build_chains(struct x509_verify_ctx *ctx, X509 *cert, | |||
| 460 | (void) ctx->xsc->verify_cb(1, ctx->xsc); | 459 | (void) ctx->xsc->verify_cb(1, ctx->xsc); |
| 461 | } | 460 | } |
| 462 | } else if (ctx->error_depth == depth) { | 461 | } else if (ctx->error_depth == depth) { |
| 463 | (void) x509_verify_cert_error(ctx, cert, depth, | 462 | (void) x509_verify_cert_error(ctx, cert, depth, |
| 464 | ctx->error, 0); | 463 | ctx->error, 0); |
| 465 | } | 464 | } |
| 466 | } | 465 | } |
| 467 | 466 | ||
