diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-13 13:45:33 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-13 13:45:33 -0800 |
commit | 08bea83c032675e93c789070e681aab212c1d2a4 (patch) | |
tree | e85c89ad4bf1c7dffb7f133bdf30ebd3821947c4 /include/crypto.php | |
parent | 8892568652c2fc56e39611660d9bec4770c4354b (diff) | |
download | volse-hubzilla-08bea83c032675e93c789070e681aab212c1d2a4.tar.gz volse-hubzilla-08bea83c032675e93c789070e681aab212c1d2a4.tar.bz2 volse-hubzilla-08bea83c032675e93c789070e681aab212c1d2a4.zip |
unexpected openssl result
Diffstat (limited to 'include/crypto.php')
-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) |