summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_cert.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-11-20 08:08:02 +0000
committertb <tb@openbsd.org>2020-11-20 08:08:02 +0000
commit9e52ca1e9ee0ce8aa32c49208632e12d62243ef1 (patch)
treea7eb1845707af1fc01444ed22bf3f8f431c35d4b /lib/libssl/ssl_cert.c
parentfix confusing line break and indent (diff)
downloadwireguard-openbsd-9e52ca1e9ee0ce8aa32c49208632e12d62243ef1.tar.xz
wireguard-openbsd-9e52ca1e9ee0ce8aa32c49208632e12d62243ef1.zip
fix another misleading line break and indent
Diffstat (limited to 'lib/libssl/ssl_cert.c')
-rw-r--r--lib/libssl/ssl_cert.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libssl/ssl_cert.c b/lib/libssl/ssl_cert.c
index af1fc847db2..2e0dca58eab 100644
--- a/lib/libssl/ssl_cert.c
+++ b/lib/libssl/ssl_cert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_cert.c,v 1.79 2020/11/20 08:03:53 tb Exp $ */
+/* $OpenBSD: ssl_cert.c,v 1.80 2020/11/20 08:08:02 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -657,8 +657,9 @@ SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
for (;;) {
if (PEM_read_bio_X509(in, &x, NULL, NULL) == NULL)
break;
- if ((xn = X509_get_subject_name(x)) == NULL) goto err;
- xn = X509_NAME_dup(xn);
+ if ((xn = X509_get_subject_name(x)) == NULL)
+ goto err;
+ xn = X509_NAME_dup(xn);
if (xn == NULL)
goto err;
if (sk_X509_NAME_find(stack, xn) >= 0)