From da79662081b375e91477b5c83c44d084a8e579bd Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 28 Feb 2016 16:33:52 -0800 Subject: stop the PHP warnings from Thomas's buggered sitekey --- include/crypto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crypto.php b/include/crypto.php index 50ec2a3a6..94a6b4a58 100644 --- a/include/crypto.php +++ b/include/crypto.php @@ -20,7 +20,7 @@ function rsa_verify($data,$sig,$key,$alg = 'sha256') { if(intval(OPENSSL_ALGO_SHA256) && $alg === 'sha256') $alg = OPENSSL_ALGO_SHA256; - $verify = openssl_verify($data,$sig,$key,$alg); + $verify = @openssl_verify($data,$sig,$key,$alg); if(! $verify) { logger('openssl_verify: ' . openssl_error_string(),LOGGER_NORMAL,LOG_ERR); -- cgit v1.2.3