Skip to content

Commit 27172a0

Browse files
ChrisThibodeauxmtrojnar
authored andcommitted
Patch CRL fetch failure from expected file type
`application/octet-stream` response types caused CRL/TSA-CRL fetch failures
1 parent d77ddb9 commit 27172a0

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
@@ -929,10 +929,8 @@ static BIO *bio_get_http(char *url, BIO *req, char *proxy, int rfc3161, char *ca
929929
info.ssl_ctx = ssl_ctx;
930930

931931
if (!req) { /* GET */
932-
const char *expected_content_type = "application/pkix-crl";
933-
934932
s_bio = OSSL_HTTP_get(url, proxy, NULL, NULL, NULL, http_tls_cb, &info, 0,
935-
NULL, expected_content_type, 0, 0, timeout);
933+
NULL, NULL, 0, 0, timeout);
936934
} else { /* POST */
937935
const char *content_type = "application/timestamp-query"; /* RFC3161 Timestamp */
938936
const char *expected_content_type = "application/timestamp-reply";

0 commit comments

Comments
 (0)