aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-28 16:33:52 -0800
committerredmatrix <git@macgirvin.com>2016-02-28 16:33:52 -0800
commitda79662081b375e91477b5c83c44d084a8e579bd (patch)
tree7932b66d2a048e5e4acdc0498f6396ec6eb0f3fc /include
parent72f3f7c1726b4df7a0f7aa93c752b0bb346353ed (diff)
downloadvolse-hubzilla-da79662081b375e91477b5c83c44d084a8e579bd.tar.gz
volse-hubzilla-da79662081b375e91477b5c83c44d084a8e579bd.tar.bz2
volse-hubzilla-da79662081b375e91477b5c83c44d084a8e579bd.zip
stop the PHP warnings from Thomas's buggered sitekey
Diffstat (limited to 'include')
-rw-r--r--include/crypto.php2
1 files changed, 1 insertions, 1 deletions
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);