From efe187e8a2b583defdcd9d4b96e3dc83f95bef0d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 28 Jul 2017 17:46:43 +0200 Subject: gpg,sm: String changes for compliance diagnostics. Signed-off-by: Werner Koch --- g10/decrypt-data.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'g10/decrypt-data.c') 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); -- cgit v1.2.3