about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-27 16:54:59 -0400
committerJune McEnroe <june@causal.agency>2020-08-27 16:54:59 -0400
commitf4d06c101fd0a66d01ca964004a7bba5e63e01ae (patch)
treea955fd89de7742ec016f9d92ec72999d31eb8483
parentSupport the pounce_env rc variable (diff)
downloadpounce-f4d06c101fd0a66d01ca964004a7bba5e63e01ae.tar.gz
pounce-f4d06c101fd0a66d01ca964004a7bba5e63e01ae.zip
contrib/palaver: Only allow HTTPS
Diffstat (limited to '')
-rw-r--r--contrib/palaver/notify.c1
1 files changed, 1 insertions, 0 deletions
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);