diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-03-31 13:26:32 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-04-07 12:14:16 +0200 |
commit | 99d680e6bcb7c5caaf8e94cc2c4dd7367e16d8f4 (patch) | |
tree | e5be5f44eeeb9f75753271a9bce6ace03e75bdaa /crypto/x509 | |
parent | a1e4c8ef8125bfff403d49d60a625f75b3074a79 (diff) |
Fix error reporting glitch in X509_STORE_CTX_print_verify_cb() in t_x509.c
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11448)
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/t_x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c index 6ef979c4ff..16dc6eaaf2 100644 --- a/crypto/x509/t_x509.c +++ b/crypto/x509/t_x509.c @@ -472,7 +472,7 @@ int X509_STORE_CTX_print_verify_cb(int ok, X509_STORE_CTX *ctx) BIO_printf(bio, "certs in trust store:\n"); print_store_certs(bio, X509_STORE_CTX_get0_store(ctx)); } - CMPerr(0, X509_R_CERTIFICATE_VERIFICATION_FAILED); + X509err(0, X509_R_CERTIFICATE_VERIFICATION_FAILED); ERR_add_error_mem_bio("\n", bio); BIO_free(bio); } |