From 6fcf7f7eec8b9e232d70493d1132074359372c97 Mon Sep 17 00:00:00 2001 From: Dave Beckett Date: Mon, 29 Nov 2021 08:40:14 -0800 Subject: (raptor_www_curl_set_ssl_cert_options) Set res --- src/raptor_www_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raptor_www_curl.c b/src/raptor_www_curl.c index 4da0eaed..d689f2bd 100644 --- a/src/raptor_www_curl.c +++ b/src/raptor_www_curl.c @@ -333,7 +333,7 @@ raptor_www_curl_set_ssl_cert_options(raptor_www* www, #define CURLOPT_KEYPASSWD CURLOPT_SSLKEYPASSWD #endif if(cert_passphrase) { - curl_easy_setopt(www->curl_handle, CURLOPT_KEYPASSWD, cert_passphrase); + res = curl_easy_setopt(www->curl_handle, CURLOPT_KEYPASSWD, cert_passphrase); if(res != CURLE_OK) { www->failed = 1; raptor_www_error(www, "Setting request SSL cert pass phrase failed"); -- cgit v1.2.1