X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcrypto.php;h=dfc44c1792dfc4f056e7cc05cbe935a374a42f61;hb=0475fc1fce4965e660332cd538a43c1c82b7df6c;hp=703439baa1615b61365ece621ee28e9d7836b4a7;hpb=acb4630eed14175ef35f09e21609d6329f3f990c;p=friendica.git diff --git a/include/crypto.php b/include/crypto.php index 703439baa1..dfc44c1792 100644 --- a/include/crypto.php +++ b/include/crypto.php @@ -91,9 +91,9 @@ function metopem($m, $e) { return $key; } -function pubrsatome($key,&$m,&$e) { - require_once('library/asn1.php'); - require_once('include/salmon.php'); +function pubrsatome($key, &$m, &$e) +{ + require_once 'library/asn1.php'; $lines = explode("\n", $key); unset($lines[0]); @@ -117,8 +117,8 @@ function pemtorsa($key) { return metorsa($m, $e); } -function pemtome($key, &$m, &$e) { - require_once('include/salmon.php'); +function pemtome($key, &$m, &$e) +{ $lines = explode("\n", $key); unset($lines[0]); unset($lines[count($lines)]);