summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2021-11-14 08:21:47 +0000
committerjsing <>2021-11-14 08:21:47 +0000
commitd0fd67c3616a8cf781c58089e3203bcbcc4c5bce (patch)
tree5aea762725a1a2f2dd9b371a73cf3ae5c404d1dc /src/lib
parent77f1d79ea2d9c953363a93561ac6db586ee02f13 (diff)
downloadopenbsd-d0fd67c3616a8cf781c58089e3203bcbcc4c5bce.tar.gz
openbsd-d0fd67c3616a8cf781c58089e3203bcbcc4c5bce.tar.bz2
openbsd-d0fd67c3616a8cf781c58089e3203bcbcc4c5bce.zip
Put curly brace on the correct line.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_verify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_verify.c b/src/lib/libcrypto/x509/x509_verify.c
index 4698d2f8b7..e7493fdbf0 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.52 2021/11/07 15:51:23 tb Exp $ */ 1/* $OpenBSD: x509_verify.c,v 1.53 2021/11/14 08:21:47 jsing 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 *
@@ -771,7 +771,8 @@ x509_verify_cert_hostname(struct x509_verify_ctx *ctx, X509 *cert, char *name)
771} 771}
772 772
773static int 773static int
774x509_verify_set_check_time(struct x509_verify_ctx *ctx) { 774x509_verify_set_check_time(struct x509_verify_ctx *ctx)
775{
775 if (ctx->xsc != NULL) { 776 if (ctx->xsc != NULL) {
776 if (ctx->xsc->param->flags & X509_V_FLAG_USE_CHECK_TIME) { 777 if (ctx->xsc->param->flags & X509_V_FLAG_USE_CHECK_TIME) {
777 ctx->check_time = &ctx->xsc->param->check_time; 778 ctx->check_time = &ctx->xsc->param->check_time;