unexpected openssl result

This commit is contained in:
zotlabs
2018-01-14 07:46:47 +01:00
committed by Mario
parent 750e0a8d11
commit a70db805b7
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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)