aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt-data.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-07-28 15:46:43 +0000
committerWerner Koch <[email protected]>2017-07-28 15:46:43 +0000
commitefe187e8a2b583defdcd9d4b96e3dc83f95bef0d (patch)
tree2de5ecaa06fb5e45c0a3c3b11f9962cd186140ac /g10/decrypt-data.c
parentagent: For OCB key files return Bad Passprase instead of Checksum Error. (diff)
downloadgnupg-efe187e8a2b583defdcd9d4b96e3dc83f95bef0d.tar.gz
gnupg-efe187e8a2b583defdcd9d4b96e3dc83f95bef0d.zip
gpg,sm: String changes for compliance diagnostics.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/decrypt-data.c')
-rw-r--r--g10/decrypt-data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/decrypt-data.c b/g10/decrypt-data.c
index 12693fe61..736534d75 100644
--- a/g10/decrypt-data.c
+++ b/g10/decrypt-data.c
@@ -102,8 +102,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
if (! gnupg_cipher_is_allowed (opt.compliance, 0, dek->algo,
GCRY_CIPHER_MODE_CFB))
{
- log_error (_("you may not use cipher algorithm '%s'"
- " while in %s mode\n"),
+ log_error (_("cipher algorithm '%s' may not be used in %s mode\n"),
openpgp_cipher_algo_name (dek->algo),
gnupg_compliance_option_string (opt.compliance));
rc = gpg_error (GPG_ERR_CIPHER_ALGO);