aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-20 21:18:38 -0800
committerzotlabs <mike@macgirvin.com>2016-11-20 21:18:38 -0800
commitf926915e5622cc0e1d67feb609f9b70ea9eead1f (patch)
treef4443885dc02330c22bb0a15782d85254cf17c64 /include/conversation.php
parentdda2ea8fed7e69d5382aa506d5b8324776e095aa (diff)
downloadvolse-hubzilla-f926915e5622cc0e1d67feb609f9b70ea9eead1f.tar.gz
volse-hubzilla-f926915e5622cc0e1d67feb609f9b70ea9eead1f.tar.bz2
volse-hubzilla-f926915e5622cc0e1d67feb609f9b70ea9eead1f.zip
zot: specify crypto method
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index c260eb4a0..deb463887 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -363,7 +363,7 @@ function localize_item(&$item){
if(intval($item['item_obscured'])
&& strlen($item['body']) && (! strpos($item['body'],'data'))) {
- $item['body'] = json_encode(crypto_encapsulate($item['body'],get_config('system','pubkey')));
+ $item['body'] = json_encode(crypto_encapsulate($item['body'],get_config('system','pubkey'), CRYPTO_ALGORITHM));
}
}