1
0
mirror of https://github.com/mtrojnar/osslsigncode.git synced 2025-04-09 18:48:05 -05:00

Add connection logging

This commit is contained in:
olszomal 2023-05-15 12:27:59 +02:00 committed by Michał Trojnara
parent 56e7a72e8a
commit 2a4b75842a

@ -557,6 +557,7 @@ static BIO *bio_get_http(long *http_code, char *url, BIO *bout, char *proxy,
return NULL; /* FAILED */
}
/* Start a libcurl easy session and set options for a curl easy handle */
printf("Connecting to %s\n", url);
curl = curl_easy_init();
if (proxy) {
res = curl_easy_setopt(curl, CURLOPT_PROXY, proxy);