summaryrefslogtreecommitdiff
path: root/src/sp_config.c
diff options
context:
space:
mode:
authorjvoisin2018-08-29 08:55:49 +0000
committerxXx-caillou-xXx2018-08-29 10:55:49 +0200
commit64e52596abaf4bdd4c17f79c4e8acf25d1a452b4 (patch)
tree5452af804c25304cabe0f7e1160263fad25c3bf9 /src/sp_config.c
parenta0300b15a3afffe02c737d263c3d6dd31ac307b7 (diff)
Verify certs (#223)
Ensure that certificates are verified in curl should close #47
Diffstat (limited to 'src/sp_config.c')
-rw-r--r--src/sp_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_config.c b/src/sp_config.c
index 2480362..bc703a6 100644
--- a/src/sp_config.c
+++ b/src/sp_config.c
@@ -24,6 +24,7 @@ sp_config_tokens const sp_func[] = {
24 {.func = parse_session, .token = SP_TOKEN_SESSION_ENCRYPTION}, 24 {.func = parse_session, .token = SP_TOKEN_SESSION_ENCRYPTION},
25 {.func = parse_sloppy_comparison, .token = SP_TOKEN_SLOPPY_COMPARISON}, 25 {.func = parse_sloppy_comparison, .token = SP_TOKEN_SLOPPY_COMPARISON},
26 {.func = parse_wrapper_whitelist, .token = SP_TOKEN_ALLOW_WRAPPERS}, 26 {.func = parse_wrapper_whitelist, .token = SP_TOKEN_ALLOW_WRAPPERS},
27 {.func = parse_curl_verify_certificates, .token = SP_TOKEN_CURL_VERIFY_CERTIFICATES},
27 {NULL, NULL}}; 28 {NULL, NULL}};
28 29
29/* Top level keyword parsing */ 30/* Top level keyword parsing */