diff options
| author | Ben Fuhrmannek | 2019-06-19 11:04:17 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2019-06-19 11:04:17 +0200 |
| commit | 3ab467100883adedab71a28e1699799e45ab0b2d (patch) | |
| tree | 87ca7d7d462f138982ae578b3031c0e2425f68dd /src/sp_crypt.c | |
| parent | db20c8ddf4d5c068e20bbce1f6d283c9eb06119a (diff) | |
fix snufflepagus_globals linking issues and one mac compatibility issue
Diffstat (limited to 'src/sp_crypt.c')
| -rw-r--r-- | src/sp_crypt.c | 2 |
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 | ||
| 3 | ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) | ||
| 4 | |||
| 5 | void generate_key(unsigned char *key) { | 3 | void 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"); |
