From 8db8893cd7969021a1062fd7debbf90417417eb1 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 3 Dec 2004 00:10:59 +0000 Subject: [PATCH] V1 certificates that aren't self signed can't be accepted as CAs. --- crypto/x509v3/v3_purp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c index 7c16ff1890..3e94f77c79 100644 --- a/crypto/x509v3/v3_purp.c +++ b/crypto/x509v3/v3_purp.c @@ -441,8 +441,6 @@ static int check_ca(const X509 *x) /* Older certificates could have Netscape-specific CA types */ else if (x->ex_flags & EXFLAG_NSCERT && x->ex_nscert & NS_ANY_CA) return 5; - /* 2 means "I don't know...", which is legal for V1 and V2 */ - else if (x->ex_flags & EXFLAG_V1) return 2; /* can this still be regarded a CA certificate? I doubt it */ return 0; } -- 2.25.1