diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-13 13:45:33 -0800 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-01-14 07:46:47 +0100 |
commit | a70db805b7a7b8f428b6cd78fb5a567184530b6b (patch) | |
tree | 12e311e06600fa7129a56c85b1397617b4caf42b /include | |
parent | 750e0a8d113180bcb73a00360c75f8f1af0fd854 (diff) | |
download | volse-hubzilla-a70db805b7a7b8f428b6cd78fb5a567184530b6b.tar.gz volse-hubzilla-a70db805b7a7b8f428b6cd78fb5a567184530b6b.tar.bz2 volse-hubzilla-a70db805b7a7b8f428b6cd78fb5a567184530b6b.zip |
unexpected openssl result
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto.php b/include/crypto.php index 622add4dc..ab10edb03 100644 --- a/include/crypto.php +++ b/include/crypto.php @@ -28,7 +28,7 @@ function rsa_verify($data,$sig,$key,$alg = 'sha256') { btlogger('openssl_verify: key: ' . $key, LOGGER_DEBUG, LOG_ERR); } - return $verify; + return (intval($verify) > 0 ? 1 : 0); } function pkcs5_pad ($text, $blocksize) |