summaryrefslogtreecommitdiffstats
path: root/g10/pubkey-enc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-07-28 17:46:43 +0200
committerWerner Koch <wk@gnupg.org>2017-07-28 17:46:43 +0200
commitefe187e8a2b583defdcd9d4b96e3dc83f95bef0d (patch)
tree2de5ecaa06fb5e45c0a3c3b11f9962cd186140ac /g10/pubkey-enc.c
parentagent: For OCB key files return Bad Passprase instead of Checksum Error. (diff)
downloadgnupg2-efe187e8a2b583defdcd9d4b96e3dc83f95bef0d.tar.xz
gnupg2-efe187e8a2b583defdcd9d4b96e3dc83f95bef0d.zip
gpg,sm: String changes for compliance diagnostics.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/pubkey-enc.c')
-rw-r--r--g10/pubkey-enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/pubkey-enc.c b/g10/pubkey-enc.c
index 013fd2f1b..272562b18 100644
--- a/g10/pubkey-enc.c
+++ b/g10/pubkey-enc.c
@@ -94,7 +94,7 @@ get_session_key (ctrl_t ctrl, PKT_pubkey_enc * k, DEK * dek)
if (!gnupg_pk_is_compliant (opt.compliance,
sk->pubkey_algo,
sk->pkey, nbits_from_pk (sk), NULL))
- log_info (_("Note: key %s was not suitable for encryption"
+ log_info (_("Note: key %s is not suitable for encryption"
" in %s mode\n"),
keystr_from_pk (sk),
gnupg_compliance_option_string (opt.compliance));
@@ -132,7 +132,7 @@ get_session_key (ctrl_t ctrl, PKT_pubkey_enc * k, DEK * dek)
if (!gnupg_pk_is_compliant (opt.compliance,
sk->pubkey_algo,
sk->pkey, nbits_from_pk (sk), NULL))
- log_info (_("Note: key %s was not suitable for encryption"
+ log_info (_("Note: key %s is not suitable for encryption"
" in %s mode\n"),
keystr_from_pk (sk),
gnupg_compliance_option_string (opt.compliance));