Skip to content

Commit

Permalink
KNF for a brace and zap trailing blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
tb committed Apr 12, 2022
1 parent 8dcdd62 commit 8daf83b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/libcrypto/x509/x509_verify.c
Original file line number Diff line number Diff line change
@@ -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>
*
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -1259,4 +1260,3 @@ x509_verify(struct x509_verify_ctx *ctx, X509 *leaf, char *name)

return 0;
}

0 comments on commit 8daf83b

Please sign in to comment.