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:
b9d7ca9
)
Make DER option work again.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 2 May 2003 11:41:40 +0000
(11:41 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 2 May 2003 11:41:40 +0000
(11:41 +0000)
Fix typo.
crypto/x509v3/v3_conf.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_conf.c
b/crypto/x509v3/v3_conf.c
index 7e813db0d79e83eccc5c05b24df915b7aa943255..9a89e43330050e8b3ab2677cd371b96f816b7172 100644
(file)
--- a/
crypto/x509v3/v3_conf.c
+++ b/
crypto/x509v3/v3_conf.c
@@
-238,12
+238,12
@@
static int v3_check_generic(char **value)
{
int gen_type = 0;
char *p = *value;
- if ((strlen(p) >= 4) && !strncmp(p, "DER:
,
", 4))
+ if ((strlen(p) >= 4) && !strncmp(p, "DER:", 4))
{
p+=4;
gen_type = 1;
}
-
if ((strlen(p) >= 5) && !strncmp(p, "ASN1:,
", 5))
+
else if ((strlen(p) >= 5) && !strncmp(p, "ASN1:
", 5))
{
p+=5;
gen_type = 2;