diff options
| author | kkadosh | 2018-05-29 19:34:16 +0000 |
|---|---|---|
| committer | jvoisin | 2018-05-29 19:34:16 +0000 |
| commit | 7832438b7abedf567ce6376f99949f419abcdff1 (patch) | |
| tree | 560e43918d1dc36ce4cf760a5b27aed0c563bc1c /src/sp_crypt.h | |
| parent | 9eebe8c67e03e3041d454ea28e93996f7a67740b (diff) | |
Support session encryption
Implement session encryption.
Diffstat (limited to 'src/sp_crypt.h')
| -rw-r--r-- | src/sp_crypt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_crypt.h b/src/sp_crypt.h index 1852a0a..3ede104 100644 --- a/src/sp_crypt.h +++ b/src/sp_crypt.h | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | #include "ext/hash/php_hash_sha.h" | 10 | #include "ext/hash/php_hash_sha.h" |
| 11 | #include "ext/standard/base64.h" | 11 | #include "ext/standard/base64.h" |
| 12 | 12 | ||
| 13 | static void generate_key(unsigned char *key); | 13 | void generate_key(unsigned char *key); |
| 14 | int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hask_key); | 14 | int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hask_key); |
| 15 | zend_string *encrypt_zval(char *data, unsigned long long data_len); | 15 | zend_string *encrypt_zval(char *data, unsigned long long data_len); |
| 16 | 16 | ||
