From 8d41a2d6fc77d6a2d38c0e0a3d63b0ac8e5160b6 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 12 Apr 2022 10:42:35 +0000 Subject: [PATCH] KNF for a brace and zap trailing blank line --- lib/libcrypto/x509/x509_verify.c | 6 +++--- 1 file 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 * @@ -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; } - -- 2.20.1