summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/x509_verify.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-04-12 10:42:36 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-04-12 10:42:36 +0000
commitc5dc47048a61e601b03dc773c7dffc4d08e280ce (patch)
tree83aa2e55215644a5827f16011871e75010575944 /lib/libcrypto/x509/x509_verify.c
parent4d4c01481934d6159af0614a3aeeb743f23780a8 (diff)
KNF for a brace and zap trailing blank line
Diffstat (limited to 'lib/libcrypto/x509/x509_verify.c')
-rw-r--r--lib/libcrypto/x509/x509_verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/x509/x509_verify.c b/lib/libcrypto/x509/x509_verify.c
index 6a73cb74e25..630c9f9b5a5 100644
--- a/lib/libcrypto/x509/x509_verify.c
+++ b/lib/libcrypto/x509/x509_verify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_verify.c,v 1.54 2021/11/24 05:38:12 beck Exp $ */
+/* $OpenBSD: x509_verify.c,v 1.55 2022/04/12 10:42:35 tb Exp $ */
/*
* Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org>
*
@@ -237,7 +237,8 @@ x509_verify_ctx_clear(struct x509_verify_ctx *ctx)
}
static int
-x509_verify_cert_cache_extensions(X509 *cert) {
+x509_verify_cert_cache_extensions(X509 *cert)
+{
if (!(cert->ex_flags & EXFLAG_SET)) {
CRYPTO_w_lock(CRYPTO_LOCK_X509);
x509v3_cache_extensions(cert);
@@ -1259,4 +1260,3 @@ x509_verify(struct x509_verify_ctx *ctx, X509 *leaf, char *name)
return 0;
}
-