Update from head.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 25 Jul 2005 18:40:09 +0000 (18:40 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 25 Jul 2005 18:40:09 +0000 (18:40 +0000)
crypto/x509v3/v3_utl.c

index 191cfef..7911c4b 100644 (file)
@@ -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;