From 6487590b4fd55dddd59b43f1fcf2ebd8d56f20ac Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 20 Sep 2017 10:51:22 +0200 Subject: Add travis --- src/sp_cookie_encryption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_cookie_encryption.c') diff --git a/src/sp_cookie_encryption.c b/src/sp_cookie_encryption.c index 5248486..ad8438a 100644 --- a/src/sp_cookie_encryption.c +++ b/src/sp_cookie_encryption.c @@ -63,7 +63,7 @@ int decrypt_cookie(zval *pDest, int num_args, va_list args, if (value_len < crypto_secretbox_NONCEBYTES + crypto_secretbox_ZEROBYTES) { - sp_log_msg("cookie_encryption", LOG_DROP, + sp_log_msg("cookie_encryption", SP_LOG_DROP, "Buffer underflow tentative detected in cookie encryption handling."); return ZEND_HASH_APPLY_REMOVE; } @@ -77,7 +77,7 @@ int decrypt_cookie(zval *pDest, int num_args, va_list args, (unsigned char *)ZSTR_VAL(debase64), key); if (ret == -1) { - sp_log_msg("cookie_encryption", LOG_DROP, + sp_log_msg("cookie_encryption", SP_LOG_DROP, "Something went wrong with the decryption of %s.", ZSTR_VAL(hash_key->key)); return ZEND_HASH_APPLY_REMOVE; -- cgit v1.3