diff options
| author | xXx-caillou-xXx | 2018-08-29 18:09:51 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-29 16:09:51 +0000 |
| commit | 89e859d09248de6b1b9b9cdd652cb72c9f7ff098 (patch) | |
| tree | f24c9e82da5bede181607903fb4e98f59210a057 /src/sp_curl_verify_certificates.h | |
| parent | 10552296658a87e59b60a20214fef1902320d390 (diff) | |
Change how we're validating certificates
Diffstat (limited to 'src/sp_curl_verify_certificates.h')
| -rw-r--r-- | src/sp_curl_verify_certificates.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sp_curl_verify_certificates.h b/src/sp_curl_verify_certificates.h deleted file mode 100644 index f4f680e..0000000 --- a/src/sp_curl_verify_certificates.h +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | #ifndef SP_CURL_VERIFY_CERTIFICATES_H | ||
| 2 | #define SP_CURL_VERIFY_CERTIFICATES_H | ||
| 3 | #include "php_snuffleupagus.h" | ||
| 4 | |||
| 5 | #ifndef CURLOPT_SSL_VERIFYPEER | ||
| 6 | #define CURLOPT_SSL_VERIFYPEER 64 | ||
| 7 | #endif | ||
| 8 | |||
| 9 | #ifndef CURLOPT_SSL_VERIFYHOST | ||
| 10 | #define CURLOPT_SSL_VERIFYHOST 81 | ||
| 11 | #endif | ||
| 12 | |||
| 13 | int hook_curl_verify_certificates(); | ||
| 14 | |||
| 15 | #endif | ||
