diff options
author | tb <> | 2022-04-12 10:42:35 +0000 |
---|---|---|
committer | tb <> | 2022-04-12 10:42:35 +0000 |
commit | ab2da90046213c4582bcb27db8227d1a8e9d97d3 (patch) | |
tree | 91af12182ff8fb96bdbce83cfeed5519f5b21071 /src | |
parent | 34cd5c9cc9b4f0ee1fae94c978ea54d70ec81098 (diff) | |
download | openbsd-ab2da90046213c4582bcb27db8227d1a8e9d97d3.tar.gz openbsd-ab2da90046213c4582bcb27db8227d1a8e9d97d3.tar.bz2 openbsd-ab2da90046213c4582bcb27db8227d1a8e9d97d3.zip |
KNF for a brace and zap trailing blank line
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_verify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_verify.c b/src/lib/libcrypto/x509/x509_verify.c index 6a73cb74e2..630c9f9b5a 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.54 2021/11/24 05:38:12 beck Exp $ */ | 1 | /* $OpenBSD: x509_verify.c,v 1.55 2022/04/12 10:42:35 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -237,7 +237,8 @@ x509_verify_ctx_clear(struct x509_verify_ctx *ctx) | |||
237 | } | 237 | } |
238 | 238 | ||
239 | static int | 239 | static int |
240 | x509_verify_cert_cache_extensions(X509 *cert) { | 240 | x509_verify_cert_cache_extensions(X509 *cert) |
241 | { | ||
241 | if (!(cert->ex_flags & EXFLAG_SET)) { | 242 | if (!(cert->ex_flags & EXFLAG_SET)) { |
242 | CRYPTO_w_lock(CRYPTO_LOCK_X509); | 243 | CRYPTO_w_lock(CRYPTO_LOCK_X509); |
243 | x509v3_cache_extensions(cert); | 244 | x509v3_cache_extensions(cert); |
@@ -1259,4 +1260,3 @@ x509_verify(struct x509_verify_ctx *ctx, X509 *leaf, char *name) | |||
1259 | 1260 | ||
1260 | return 0; | 1261 | return 0; |
1261 | } | 1262 | } |
1262 | |||