Browse Source

Fix a typo

pull/1210/head
Max Lv 7 years ago
parent
commit
c9d7ff16d6
1 changed files with 1 additions and 1 deletions
  1. 2
      src/aead.c

2
src/aead.c

@ -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) {

Loading…
Cancel
Save