summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2020-11-20 08:08:02 +0000
committertb <>2020-11-20 08:08:02 +0000
commit0e986b357691474bd45cc44c68308d4fa82c6929 (patch)
tree063c967f2770debb1707dbec3c8c6589110822df
parent047f98436ef1a63245e58535efd73d2ff1fb2f0e (diff)
downloadopenbsd-0e986b357691474bd45cc44c68308d4fa82c6929.tar.gz
openbsd-0e986b357691474bd45cc44c68308d4fa82c6929.tar.bz2
openbsd-0e986b357691474bd45cc44c68308d4fa82c6929.zip
fix another misleading line break and indentlibressl-v3.3.0
-rw-r--r--src/lib/libssl/ssl_cert.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_cert.c b/src/lib/libssl/ssl_cert.c
index af1fc847db..2e0dca58ea 100644
--- a/src/lib/libssl/ssl_cert.c
+++ b/src/lib/libssl/ssl_cert.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_cert.c,v 1.79 2020/11/20 08:03:53 tb Exp $ */ 1/* $OpenBSD: ssl_cert.c,v 1.80 2020/11/20 08:08:02 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -657,8 +657,9 @@ SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
657 for (;;) { 657 for (;;) {
658 if (PEM_read_bio_X509(in, &x, NULL, NULL) == NULL) 658 if (PEM_read_bio_X509(in, &x, NULL, NULL) == NULL)
659 break; 659 break;
660 if ((xn = X509_get_subject_name(x)) == NULL) goto err; 660 if ((xn = X509_get_subject_name(x)) == NULL)
661 xn = X509_NAME_dup(xn); 661 goto err;
662 xn = X509_NAME_dup(xn);
662 if (xn == NULL) 663 if (xn == NULL)
663 goto err; 664 goto err;
664 if (sk_X509_NAME_find(stack, xn) >= 0) 665 if (sk_X509_NAME_find(stack, xn) >= 0)