aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509v3/v3_utl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-07-25 18:39:44 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-07-25 18:39:44 +0000
commit5e64f8c44c4532ff9646180f40d376790aa8af78 (patch)
tree7f0f67c82e1299a5b9689013a90b5320e68256bd /crypto/x509v3/v3_utl.c
parent4a5b8a5bee8bd90f52c725030730c60bbf79a437 (diff)
downloadopenssl-5e64f8c44c4532ff9646180f40d376790aa8af78.zip
openssl-5e64f8c44c4532ff9646180f40d376790aa8af78.tar.gz
openssl-5e64f8c44c4532ff9646180f40d376790aa8af78.tar.bz2
Typo which prevents mult valued RDNs being created.
Diffstat (limited to 'crypto/x509v3/v3_utl.c')
-rw-r--r--crypto/x509v3/v3_utl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c
index 191cfef..7911c4b 100644
--- a/crypto/x509v3/v3_utl.c
+++ b/crypto/x509v3/v3_utl.c
@@ -826,13 +826,13 @@ int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE)*dn_sk,
break;
}
#ifndef CHARSET_EBCDIC
- if (*p == '+')
+ if (*type == '+')
#else
- if (*p == os_toascii['+'])
+ if (*type == os_toascii['+'])
#endif
{
mval = -1;
- p++;
+ type++;
}
else
mval = 0;