diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2019-12-22 16:43:50 +0200 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2019-12-22 16:52:46 +0200 |
commit | 5b9ea3df0dc355d77b9f061f63064614a97b8b67 (patch) | |
tree | e19b64c9242439c39b20e1d672a71df00f7521eb /cipher/cipher.c | |
parent | e5c4cf0efb8fd297963e6b4392ab98c41dbad536 (diff) | |
download | libgcrypt-5b9ea3df0dc355d77b9f061f63064614a97b8b67.tar.gz |
cipher: fix typo in error log
* cipher/cipher.c (_gcry_cipher_encrypt): Fix log "cipher_decrypt: ..."
to "cipher_encrypt: ...".
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/cipher.c')
-rw-r--r-- | cipher/cipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/cipher.c b/cipher/cipher.c index ab3e4240..bd571367 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -1125,7 +1125,7 @@ _gcry_cipher_encrypt (gcry_cipher_hd_t h, void *out, size_t outsize, if (h->mode != GCRY_CIPHER_MODE_NONE && !h->marks.key) { - log_error ("cipher_decrypt: key not set\n"); + log_error ("cipher_encrypt: key not set\n"); return GPG_ERR_MISSING_KEY; } |