Don't use @syntax for extended CRLDP format.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 25 Jul 2005 18:55:40 +0000 (18:55 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 25 Jul 2005 18:55:40 +0000 (18:55 +0000)
crypto/x509v3/v3_crld.c

index bdb3dd523bc0bca24136a4df07baecd78074ed43..87d79eb6933a002fcdf05a8243bd8628da49d66c 100644 (file)
@@ -309,10 +309,10 @@ static void *v2i_crld(X509V3_EXT_METHOD *method,
        for(i = 0; i < sk_CONF_VALUE_num(nval); i++) {
                DIST_POINT *point;
                cnf = sk_CONF_VALUE_value(nval, i);
-               if (!cnf->value && cnf->name[0] == '@')
+               if (!cnf->value)
                        {
                        STACK_OF(CONF_VALUE) *dpsect;
-                       dpsect = X509V3_get_section(ctx, cnf->name + 1);
+                       dpsect = X509V3_get_section(ctx, cnf->name);
                        if (!dpsect)
                                goto err;
                        point = crldp_from_section(ctx, dpsect);