mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-22 06:53:46 +00:00
Fix a typo
This commit is contained in:
+1
-1
@@ -727,7 +727,7 @@ aead_key_init(int method, const char *pass, const char *key)
|
||||
cipher->key_len = crypto_parse_key(key, cipher->key,
|
||||
supported_aead_ciphers_key_size[method]);
|
||||
else
|
||||
cipher->key_len = crypto_derive_key(key, cipher->key,
|
||||
cipher->key_len = crypto_derive_key(pass, cipher->key,
|
||||
supported_aead_ciphers_key_size[method]);
|
||||
|
||||
if (cipher->key_len == 0) {
|
||||
|
||||
Reference in New Issue
Block a user