projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3010b17
)
V1 certificates that aren't self signed can't be accepted as CAs.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 3 Dec 2004 00:10:59 +0000
(
00:10
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 3 Dec 2004 00:10:59 +0000
(
00:10
+0000)
crypto/x509v3/v3_purp.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_purp.c
b/crypto/x509v3/v3_purp.c
index 7c16ff18906ecb5383532cdda02e1f0435be9776..3e94f77c793adbc523ef62f081a12e03d55a44a4 100644
(file)
--- 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;
}