diff options
author | friendica <info@friendica.com> | 2013-12-07 23:29:26 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-07 23:29:26 -0800 |
commit | b8454cbd1df76bb96af6a6d65ff40f08f6919dc5 (patch) | |
tree | b83aa98b385d6a9391ae684b04d49189add2e02c /include/crypto.php | |
parent | d6d6387a7b788165ffb0a46703252271d546bd8a (diff) | |
download | volse-hubzilla-b8454cbd1df76bb96af6a6d65ff40f08f6919dc5.tar.gz volse-hubzilla-b8454cbd1df76bb96af6a6d65ff40f08f6919dc5.tar.bz2 volse-hubzilla-b8454cbd1df76bb96af6a6d65ff40f08f6919dc5.zip |
post_activity_item issues
Diffstat (limited to 'include/crypto.php')
-rw-r--r-- | include/crypto.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto.php b/include/crypto.php index ca01814da..e9372fbb4 100644 --- a/include/crypto.php +++ b/include/crypto.php @@ -75,6 +75,8 @@ function aes_encapsulate($data,$pubkey) { } function crypto_unencapsulate($data,$prvkey) { + if(! $data) + return; $alg = ((array_key_exists('alg',$data)) ? $data['alg'] : 'aes256cbc'); if($alg === 'aes256cbc') return aes_unencapsulate($data,$prvkey); |