diff options
author | Werner Koch <[email protected]> | 2017-07-28 15:46:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-07-28 15:46:43 +0000 |
commit | efe187e8a2b583defdcd9d4b96e3dc83f95bef0d (patch) | |
tree | 2de5ecaa06fb5e45c0a3c3b11f9962cd186140ac /sm/encrypt.c | |
parent | agent: For OCB key files return Bad Passprase instead of Checksum Error. (diff) | |
download | gnupg-efe187e8a2b583defdcd9d4b96e3dc83f95bef0d.tar.gz gnupg-efe187e8a2b583defdcd9d4b96e3dc83f95bef0d.zip |
gpg,sm: String changes for compliance diagnostics.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/encrypt.c')
-rw-r--r-- | sm/encrypt.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |