mirror of
https://github.com/friendica/friendica
synced 2025-04-25 22:30:10 +00:00
Disable RINO
Comment out functions for RINO crypt and disable RINO request and response.
This commit is contained in:
parent
4203132e1a
commit
7d83a19fd4
3 changed files with 16 additions and 6 deletions
|
@ -185,7 +185,7 @@ function salmon_key($pubkey) {
|
|||
}
|
||||
|
||||
|
||||
|
||||
/** disable rino
|
||||
if(! function_exists('aes_decrypt')) {
|
||||
function aes_decrypt($val,$ky)
|
||||
{
|
||||
|
@ -210,7 +210,7 @@ function aes_encrypt($val,$ky)
|
|||
$val=str_pad($val, (16*(floor(strlen($val) / 16)+(strlen($val) % 16==0?2:1))), chr(16-(strlen($val) % 16)));
|
||||
return mcrypt_encrypt($enc, $key, $val, $mode, mcrypt_create_iv( mcrypt_get_iv_size($enc, $mode), MCRYPT_DEV_URANDOM));
|
||||
}}
|
||||
|
||||
**/
|
||||
|
||||
function pkcs5_pad ($text, $blocksize)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue