summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2021-11-05 20:35:14 +0000
committertb <>2021-11-05 20:35:14 +0000
commit1403c5fd250a4fad438d744a125ef6a3289397a9 (patch)
treebbc1f24fb186b1615821d500eaeeafdf4b1873d6 /src/lib
parentce3e1e635eb18f169ffcf8680f7f44ca582adf35 (diff)
downloadopenbsd-1403c5fd250a4fad438d744a125ef6a3289397a9.tar.gz
openbsd-1403c5fd250a4fad438d744a125ef6a3289397a9.tar.bz2
openbsd-1403c5fd250a4fad438d744a125ef6a3289397a9.zip
Trade an abort() neutered by a comment for a blank line elsewhere.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_lu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c
index a5ae33fac8..695252fc87 100644
--- a/src/lib/libcrypto/x509/x509_lu.c
+++ b/src/lib/libcrypto/x509/x509_lu.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_lu.c,v 1.46 2021/11/05 17:15:05 tb Exp $ */ 1/* $OpenBSD: x509_lu.c,v 1.47 2021/11/05 20:35:14 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 *
@@ -477,7 +477,6 @@ x509_object_idx_cnt(STACK_OF(X509_OBJECT) *h, X509_LOOKUP_TYPE type,
477 crl_info_s.issuer = name; 477 crl_info_s.issuer = name;
478 break; 478 break;
479 default: 479 default:
480 /* abort(); */
481 return -1; 480 return -1;
482 } 481 }
483 482
@@ -485,6 +484,7 @@ x509_object_idx_cnt(STACK_OF(X509_OBJECT) *h, X509_LOOKUP_TYPE type,
485 if (idx >= 0 && pnmatch) { 484 if (idx >= 0 && pnmatch) {
486 int tidx; 485 int tidx;
487 const X509_OBJECT *tobj, *pstmp; 486 const X509_OBJECT *tobj, *pstmp;
487
488 *pnmatch = 1; 488 *pnmatch = 1;
489 pstmp = &stmp; 489 pstmp = &stmp;
490 for (tidx = idx + 1; tidx < sk_X509_OBJECT_num(h); tidx++) { 490 for (tidx = idx + 1; tidx < sk_X509_OBJECT_num(h); tidx++) {