summaryrefslogtreecommitdiff
path: root/src/sp_crypt.c
diff options
context:
space:
mode:
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");