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 --- sm/encrypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sm/encrypt.c') diff --git a/sm/encrypt.c b/sm/encrypt.c index 0225476e7..6213a6604 100644 --- a/sm/encrypt.c +++ b/sm/encrypt.c @@ -412,8 +412,7 @@ gpgsm_encrypt (ctrl_t ctrl, certlist_t recplist, int data_fd, estream_t out_fp) (opt.compliance, 1, gcry_cipher_map_name (opt.def_cipher_algoid), gcry_cipher_mode_from_oid (opt.def_cipher_algoid))) { - 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"), opt.def_cipher_algoid, gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_CIPHER_ALGO); -- cgit v1.2.3