summaryrefslogtreecommitdiff
path: root/src/sp_cookie_encryption.c
diff options
context:
space:
mode:
authorjvoisin2018-01-03 13:36:52 +0100
committerjvoisin2018-01-03 13:36:52 +0100
commit3b547450e5ee6d7bd93f28b44e751ee43936c909 (patch)
treee631724e04d9c125a6a5af163e57ac75a07650cb /src/sp_cookie_encryption.c
parentbd31eb5fbfbe6c447ebe529232a71f4b2deed9e4 (diff)
Remove some dead code
Diffstat (limited to 'src/sp_cookie_encryption.c')
-rw-r--r--src/sp_cookie_encryption.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_cookie_encryption.c b/src/sp_cookie_encryption.c
index 6abc20a..42cac85 100644
--- a/src/sp_cookie_encryption.c
+++ b/src/sp_cookie_encryption.c
@@ -151,7 +151,7 @@ static zend_string *encrypt_data(char *data, unsigned long long data_len) {
151 if (0 == nonce_d) { 151 if (0 == nonce_d) {
152 /* A zend_long should be enough to avoid collisions */ 152 /* A zend_long should be enough to avoid collisions */
153 if (php_random_int_throw(0, ZEND_LONG_MAX, &nonce_d) == FAILURE) { 153 if (php_random_int_throw(0, ZEND_LONG_MAX, &nonce_d) == FAILURE) {
154 return NULL; 154 return NULL; // LCOV_EXCL_LINE
155 } 155 }
156 } 156 }
157 nonce_d++; 157 nonce_d++;