diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-20 13:59:54 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-20 13:59:57 +0200 |
commit | 60c32a7527ddf5e9889a2e6d25f530f0e25212f3 (patch) | |
tree | 60f7bb564001cd70d2803c20e392e35b2453b24a | |
parent | 2e9e6091637f01bac33f421dfde57866de603b22 (diff) | |
download | gnutls-tmp-ocsptool-updates.tar.gz |
gnutls-cli: be less verbose in OCSP error messagestmp-ocsptool-updates
Previously we were reporting "No issuer found" if any certificate
in a chain could not be verified. That was confusing information
and not strictly necessary. No longer print that.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | src/cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1832,7 +1832,8 @@ static int cert_verify_ocsp(gnutls_session_t session) goto cleanup; } } else if (ret < 0) { - fprintf(stderr, "Cannot find issuer\n"); + if (it == 0) + fprintf(stderr, "Cannot find issuer: %s\n", gnutls_strerror(ret)); goto cleanup; } |