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/decrypt.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/decrypt.c')
-rw-r--r-- | sm/decrypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c index 3de742a25..cdce1d434 100644 --- a/sm/decrypt.c +++ b/sm/decrypt.c @@ -361,8 +361,8 @@ gpgsm_decrypt (ctrl_t ctrl, int in_fd, estream_t out_fp) /* Check compliance. */ if (! gnupg_cipher_is_allowed (opt.compliance, 0, algo, mode)) { - 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"), gcry_cipher_algo_name (algo), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_CIPHER_ALGO); @@ -489,7 +489,7 @@ gpgsm_decrypt (ctrl_t ctrl, int in_fd, estream_t out_fp) snprintf (kidstr, sizeof kidstr, "0x%08lX", gpgsm_get_short_fingerprint (cert, NULL)); log_info - (_("Note: key %s was not suitable for encryption" + (_("Note: key %s is not suitable for encryption" " in %s mode\n"), kidstr, gnupg_compliance_option_string (opt.compliance)); |