From: Nikos Mavrogiannopoulos Date: Thu, 2 Jun 2016 07:22:26 +0000 (+0200) Subject: gnutls-cli: --save-ocsp will work even if verification fails X-Git-Tag: gnutls_3_5_1~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9776c81673774c5a40bd3df07fe37861e1d5cc68;p=thirdparty%2Fgnutls.git gnutls-cli: --save-ocsp will work even if verification fails That is, allow saving the response even if the OCSP response caused a verification error. That way the response can be examined for possible issues. --- diff --git a/src/cli.c b/src/cli.c index 1e60b6c7d8..6e87abdc99 100644 --- a/src/cli.c +++ b/src/cli.c @@ -1226,6 +1226,7 @@ int main(int argc, char **argv) if (ret < 0) { fprintf(stderr, "*** Handshake has failed\n"); gnutls_perror(ret); + print_other_info(hd.session); gnutls_deinit(hd.session); return 1; } else