projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid surpising password dialog in X509 file lookup.
[oweals/openssl.git]
/
crypto
/
asn1
/
x_crl.c
diff --git
a/crypto/asn1/x_crl.c
b/crypto/asn1/x_crl.c
index 027950330d8b67815a7743d0cbf9ddfba11b5431..c78ded89ef12bb474d947bf3191a04b43d5045d1 100644
(file)
--- a/
crypto/asn1/x_crl.c
+++ b/
crypto/asn1/x_crl.c
@@
-254,6
+254,7
@@
static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
for (idx = 0; idx < sk_X509_EXTENSION_num(exts); idx++) {
int nid;
for (idx = 0; idx < sk_X509_EXTENSION_num(exts); idx++) {
int nid;
+
ext = sk_X509_EXTENSION_value(exts, idx);
nid = OBJ_obj2nid(ext->object);
if (nid == NID_freshest_crl)
ext = sk_X509_EXTENSION_value(exts, idx);
nid = OBJ_obj2nid(ext->object);
if (nid == NID_freshest_crl)
@@
-263,7
+264,7
@@
static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
if ((nid == NID_issuing_distribution_point)
|| (nid == NID_authority_key_identifier)
|| (nid == NID_delta_crl))
if ((nid == NID_issuing_distribution_point)
|| (nid == NID_authority_key_identifier)
|| (nid == NID_delta_crl))
-
break;
;
+
continue
;
crl->flags |= EXFLAG_CRITICAL;
break;
}
crl->flags |= EXFLAG_CRITICAL;
break;
}