aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto.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/crypto.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/crypto.php')
-rw-r--r--include/crypto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto.php b/include/crypto.php
index bc798d919..c67c4a1ef 100644
--- a/include/crypto.php
+++ b/include/crypto.php
@@ -315,7 +315,7 @@ function convert_salmon_key($key) {
function z_obscure($s) {
- return json_encode(crypto_encapsulate($s,get_config('system','pubkey')));
+ return json_encode(crypto_encapsulate($s,get_config('system','pubkey'),CRYPTO_ALGORITHM));
}
function z_unobscure($s) {