From 8840ab5f879a8f7ef53e4658ce22793b12b62b06 Mon Sep 17 00:00:00 2001 From: Chris Thibodeaux Date: Sat, 13 Dec 2025 21:15:53 -0600 Subject: [PATCH] Patch CRL fetch failure from expected file type `application/octet-stream` response types caused CRL/TSA-CRL fetch failures --- osslsigncode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/osslsigncode.c b/osslsigncode.c index 071b223..02e07a7 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -957,10 +957,8 @@ static BIO *bio_get_http(char *url, BIO *req, char *proxy, int rfc3161, char *ca info.ssl_ctx = ssl_ctx; if (!req) { /* GET */ - const char *expected_content_type = "application/pkix-crl"; - s_bio = OSSL_HTTP_get(url, proxy, NULL, NULL, NULL, http_tls_cb, &info, 0, - NULL, expected_content_type, 0, 0, timeout); + NULL, NULL, 0, 0, timeout); } else { /* POST */ const char *content_type = "application/timestamp-query"; /* RFC3161 Timestamp */ const char *expected_content_type = "application/timestamp-reply";