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, 2 insertions, 0 deletions
diff --git a/src/sp_crypt.c b/src/sp_crypt.c
index 8336973..96a0cc0 100644
--- a/src/sp_crypt.c
+++ b/src/sp_crypt.c
@@ -68,6 +68,7 @@ int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key) {
68 } 68 }
69 } 69 }
70 70
71 // LCOV_EXCL_START
71 if (ZSTR_LEN(debase64) + (size_t)crypto_secretbox_ZEROBYTES < 72 if (ZSTR_LEN(debase64) + (size_t)crypto_secretbox_ZEROBYTES <
72 ZSTR_LEN(debase64)) { 73 ZSTR_LEN(debase64)) {
73 if (true == simulation) { 74 if (true == simulation) {
@@ -84,6 +85,7 @@ int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key) {
84 return ZEND_HASH_APPLY_REMOVE; 85 return ZEND_HASH_APPLY_REMOVE;
85 } 86 }
86 } 87 }
88 // LCOV_EXCL_END
87 89
88 generate_key(key); 90 generate_key(key);
89 91