summaryrefslogtreecommitdiffstats
path: root/crypto/x509/v3_pcons.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-06-26 16:16:00 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-08-04 09:17:47 +0200
commitc90c469376e28e87caf02e96bf6568131f1c5d1b (patch)
treea042570c784dfa249bfc74642fcc95bd8b5971b7 /crypto/x509/v3_pcons.c
parentb516a4b1399328ed2177e6bc5f717416a7d03806 (diff)
Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc.
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12296)
Diffstat (limited to 'crypto/x509/v3_pcons.c')
-rw-r--r--crypto/x509/v3_pcons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/v3_pcons.c b/crypto/x509/v3_pcons.c
index e7bb7e9546..88a9497504 100644
--- a/crypto/x509/v3_pcons.c
+++ b/crypto/x509/v3_pcons.c
@@ -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;
}
}