Skip to content

Commit 8840ab5

Browse files
Patch CRL fetch failure from expected file type
`application/octet-stream` response types caused CRL/TSA-CRL fetch failures
1 parent c23f92c commit 8840ab5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

osslsigncode.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -957,10 +957,8 @@ static BIO *bio_get_http(char *url, BIO *req, char *proxy, int rfc3161, char *ca
957957
info.ssl_ctx = ssl_ctx;
958958

959959
if (!req) { /* GET */
960-
const char *expected_content_type = "application/pkix-crl";
961-
962960
s_bio = OSSL_HTTP_get(url, proxy, NULL, NULL, NULL, http_tls_cb, &info, 0,
963-
NULL, expected_content_type, 0, 0, timeout);
961+
NULL, NULL, 0, 0, timeout);
964962
} else { /* POST */
965963
const char *content_type = "application/timestamp-query"; /* RFC3161 Timestamp */
966964
const char *expected_content_type = "application/timestamp-reply";

0 commit comments

Comments
 (0)