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