From 924af9e783d0037cc9fa78a1a9c905f1146e22b0 Mon Sep 17 00:00:00 2001 From: olszomal Date: Mon, 8 May 2023 15:01:12 +0200 Subject: [PATCH] Remove duplicated CURLcode error code --- osslsigncode.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/osslsigncode.c b/osslsigncode.c index c490bac..3e33b71 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -686,10 +686,7 @@ static int add_timestamp(PKCS7 *p7, FILE_FORMAT_CTX *ctx, char *url, int rfc3161 } BIO_free_all(bout); - if (!bin) { - if (verbose) - printf("CURL failure: %s %s\n", curl_easy_strerror(res), url); - } else { + if (bin) { if (rfc3161) { res = decode_rfc3161_response(p7, bin, verbose); BIO_free_all(bin);