summaryrefslogtreecommitdiff
path: root/src/sp_crypt.c
diff options
context:
space:
mode:
authorbef2019-06-20 12:40:07 +0200
committerjvoisin2019-06-20 10:40:07 +0000
commit1b52614c06b60ced6caecd8dcaa0911ed3aa72e2 (patch)
treef9090e36de2a1788ae07da04e859ec3666600827 /src/sp_crypt.c
parentdb20c8ddf4d5c068e20bbce1f6d283c9eb06119a (diff)
Fix snufflepagus_globals linking issues and one mac compatibility issue
Diffstat (limited to 'src/sp_crypt.c')
-rw-r--r--src/sp_crypt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sp_crypt.c b/src/sp_crypt.c
index da0e2fe..42c1510 100644
--- a/src/sp_crypt.c
+++ b/src/sp_crypt.c
@@ -1,7 +1,5 @@
1#include "php_snuffleupagus.h" 1#include "php_snuffleupagus.h"
2 2
3ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus)
4
5void generate_key(unsigned char *key) { 3void generate_key(unsigned char *key) {
6 PHP_SHA256_CTX ctx; 4 PHP_SHA256_CTX ctx;
7 const char *user_agent = getenv("HTTP_USER_AGENT"); 5 const char *user_agent = getenv("HTTP_USER_AGENT");