summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-11-05 20:35:15 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-11-05 20:35:15 +0000
commite9fac311cc81e0ab0443d8a5ad04017881bfbba8 (patch)
tree9a1026d2324f275c4f9e85a62f31811f5b346401 /lib
parent6ccce068d07ee0fa0feb81d5a9acf9b6c5ed0731 (diff)
Trade an abort() neutered by a comment for a blank line elsewhere.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509_lu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509_lu.c b/lib/libcrypto/x509/x509_lu.c
index a5ae33fac86..695252fc871 100644
--- a/lib/libcrypto/x509/x509_lu.c
+++ b/lib/libcrypto/x509/x509_lu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_lu.c,v 1.46 2021/11/05 17:15:05 tb Exp $ */
+/* $OpenBSD: x509_lu.c,v 1.47 2021/11/05 20:35:14 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -477,7 +477,6 @@ x509_object_idx_cnt(STACK_OF(X509_OBJECT) *h, X509_LOOKUP_TYPE type,
crl_info_s.issuer = name;
break;
default:
- /* abort(); */
return -1;
}
@@ -485,6 +484,7 @@ x509_object_idx_cnt(STACK_OF(X509_OBJECT) *h, X509_LOOKUP_TYPE type,
if (idx >= 0 && pnmatch) {
int tidx;
const X509_OBJECT *tobj, *pstmp;
+
*pnmatch = 1;
pstmp = &stmp;
for (tidx = idx + 1; tidx < sk_X509_OBJECT_num(h); tidx++) {