Correct confusing X509V3 conf error output by removing needless 'section:<NULL>'...
[openssl.git] / crypto / x509 / v3_pcons.c
index e7bb7e9546eb8ed7feb2072191890ce6f0bf3743..88a94975043aab4ae551a17322a759a2561c6dfa 100644 (file)
@@ -76,7 +76,7 @@ static void *v2i_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD *method,
                 goto err;
         } else {
             X509V3err(X509V3_F_V2I_POLICY_CONSTRAINTS, X509V3_R_INVALID_NAME);
-            X509V3_conf_err(val);
+            ERR_add_error_data(1, val->name);
             goto err;
         }
     }