diff options
author | Friendika <info@friendika.com> | 2011-08-20 04:53:11 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-20 04:53:11 -0700 |
commit | 0d9d576aa642e02eb8673aa20bdf4b6a18ae6bc3 (patch) | |
tree | cf41c9c4bc72a345f8a05896b82d54c06074dbf0 /include/diaspora.php | |
parent | 6aa633efc829d4d3e9ccba4f6fb4d555f3c968ca (diff) | |
download | volse-hubzilla-0d9d576aa642e02eb8673aa20bdf4b6a18ae6bc3.tar.gz volse-hubzilla-0d9d576aa642e02eb8673aa20bdf4b6a18ae6bc3.tar.bz2 volse-hubzilla-0d9d576aa642e02eb8673aa20bdf4b6a18ae6bc3.zip |
move encryption functions to crypto file
Diffstat (limited to 'include/diaspora.php')
-rw-r--r-- | include/diaspora.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index 2e8ff6892..a52c82913 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -141,6 +141,7 @@ function diaspora_decode($importer,$xml) { $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $outer_key, $ciphertext, MCRYPT_MODE_CBC, $outer_iv); + $decrypted = pkcs5_unpad($decrypted); /** |