From f4d06c101fd0a66d01ca964004a7bba5e63e01ae Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 27 Aug 2020 16:54:59 -0400 Subject: contrib/palaver: Only allow HTTPS --- contrib/palaver/notify.c | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/palaver/notify.c') diff --git a/contrib/palaver/notify.c b/contrib/palaver/notify.c index e35dabb..beaf063 100644 --- a/contrib/palaver/notify.c +++ b/contrib/palaver/notify.c @@ -686,6 +686,7 @@ int main(int argc, char *argv[]) { curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curlError); curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1L); + curl_easy_setopt(curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS); curl_easy_setopt(curl, CURLOPT_VERBOSE, (verbose ? 1L : 0L)); curl_easy_setopt(curl, CURLOPT_POST, 1L); -- cgit 1.4.1