From 2637af3175d1364c67a77adada677a68b2d24acd Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 5 Nov 2021 20:35:14 +0000 Subject: [PATCH] Trade an abort() neutered by a comment for a blank line elsewhere. --- lib/libcrypto/x509/x509_lu.c | 4 ++-- 1 file 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++) { -- 2.20.1