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 /g10/sig-check.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 'g10/sig-check.c')
-rw-r--r-- | g10/sig-check.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/g10/sig-check.c b/g10/sig-check.c index 2a3acc40b..60e988e60 100644 --- a/g10/sig-check.c +++ b/g10/sig-check.c @@ -136,8 +136,7 @@ check_signature2 (ctrl_t ctrl, else if (! gnupg_digest_is_allowed (opt.compliance, 0, sig->digest_algo)) { /* Compliance failure. */ - log_info (_("you may not use digest algorithm '%s'" - " while in %s mode\n"), + log_info (_("digest algorithm '%s' may not be used in %s mode\n"), gcry_md_algo_name (sig->digest_algo), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_DIGEST_ALGO); @@ -162,8 +161,7 @@ check_signature2 (ctrl_t ctrl, NULL)) { /* Compliance failure. */ - log_error (_("key %s is not suitable for signature verification" - " in %s mode\n"), + log_error (_("key %s may not be used for signing in %s mode\n"), keystr_from_pk (pk), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_PUBKEY_ALGO); |