From f926915e5622cc0e1d67feb609f9b70ea9eead1f Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 20 Nov 2016 21:18:38 -0800 Subject: zot: specify crypto method --- include/crypto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/crypto.php') 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) { -- cgit v1.2.3