diff options
author | June McEnroe <june@causal.agency> | 2020-08-27 16:54:59 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-27 16:54:59 -0400 |
commit | f4d06c101fd0a66d01ca964004a7bba5e63e01ae (patch) | |
tree | a955fd89de7742ec016f9d92ec72999d31eb8483 | |
parent | Support the pounce_env rc variable (diff) | |
download | pounce-f4d06c101fd0a66d01ca964004a7bba5e63e01ae.tar.gz pounce-f4d06c101fd0a66d01ca964004a7bba5e63e01ae.zip |
contrib/palaver: Only allow HTTPS
-rw-r--r-- | contrib/palaver/notify.c | 1 |
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); |