KNF for a brace and zap trailing blank line
authortb <tb@openbsd.org>
Tue, 12 Apr 2022 10:42:35 +0000 (10:42 +0000)
committertb <tb@openbsd.org>
Tue, 12 Apr 2022 10:42:35 +0000 (10:42 +0000)
lib/libcrypto/x509/x509_verify.c

index 6a73cb7..630c9f9 100644 (file)
@@ -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;
 }
-