summaryrefslogtreecommitdiff
path: root/src/sp_crypt.c
diff options
context:
space:
mode:
authorjvoisin2018-09-10 13:44:00 +0200
committerjvoisin2018-09-10 13:44:00 +0200
commitf103c8203140550e6a1658c31c071038ddc816af (patch)
tree89192da3a7a70f22282984e0cb8b279cff64fbb7 /src/sp_crypt.c
parenta0e9a4791b7a2ba83b7fa84b190d8464b178ca26 (diff)
Bump the coverage
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