diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/decrypt-data.c | 4 | ||||
-rw-r--r-- | g10/encrypt.c | 4 | ||||
-rw-r--r-- | g10/gpg.c | 8 | ||||
-rw-r--r-- | g10/sig-check.c | 4 | ||||
-rw-r--r-- | g10/sign.c | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/g10/decrypt-data.c b/g10/decrypt-data.c index 702330185..77681d199 100644 --- a/g10/decrypt-data.c +++ b/g10/decrypt-data.c @@ -101,8 +101,8 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek) /* Check compliance. */ if (! gnupg_cipher_is_allowed (opt.compliance, 0, dek->algo, GCRY_CIPHER_MODE_CFB)) { - log_error (_ ("you may not use cipher algorithm '%s'" - " while in %s mode\n"), + log_error (_("you may not use cipher algorithm '%s'" + " while in %s mode\n"), openpgp_cipher_algo_name (dek->algo), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_CIPHER_ALGO); diff --git a/g10/encrypt.c b/g10/encrypt.c index ee2f07851..b92a4f046 100644 --- a/g10/encrypt.c +++ b/g10/encrypt.c @@ -617,8 +617,8 @@ encrypt_crypt (ctrl_t ctrl, int filefd, const char *filename, if (! gnupg_cipher_is_allowed (opt.compliance, 1, cfx.dek->algo, GCRY_CIPHER_MODE_CFB)) { - log_error (_ ("you may not use cipher algorithm '%s'" - " while in %s mode\n"), + log_error (_("you may not use cipher algorithm '%s'" + " while in %s mode\n"), openpgp_cipher_algo_name (cfx.dek->algo), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_CIPHER_ALGO); @@ -3883,8 +3883,8 @@ main (int argc, char **argv) || cmd == aSignEncrSym, opt.def_cipher_algo, GCRY_CIPHER_MODE_NONE)) - log_error (_ ("you may not use cipher algorithm '%s'" - " while in %s mode\n"), + log_error (_("you may not use cipher algorithm '%s'" + " while in %s mode\n"), openpgp_cipher_algo_name (opt.def_cipher_algo), gnupg_compliance_option_string (opt.compliance)); @@ -3896,8 +3896,8 @@ main (int argc, char **argv) || cmd == aSignSym || cmd == aClearsign, opt.def_digest_algo)) - log_error (_ ("you may not use digest algorithm '%s'" - " while in %s mode\n"), + log_error (_("you may not use digest algorithm '%s'" + " while in %s mode\n"), gcry_md_algo_name (opt.def_digest_algo), gnupg_compliance_option_string (opt.compliance)); diff --git a/g10/sig-check.c b/g10/sig-check.c index d0e27eac1..912317998 100644 --- a/g10/sig-check.c +++ b/g10/sig-check.c @@ -136,8 +136,8 @@ 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 (_("you may not use digest algorithm '%s'" + " while in %s mode\n"), gcry_md_algo_name (sig->digest_algo), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_DIGEST_ALGO); diff --git a/g10/sign.c b/g10/sign.c index 024dd06e2..71b040899 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -281,8 +281,8 @@ do_sign (ctrl_t ctrl, PKT_public_key *pksk, PKT_signature *sig, /* Check compliance. */ if (! gnupg_digest_is_allowed (opt.compliance, 1, mdalgo)) { - log_error (_ ("you may not use digest algorithm '%s'" - " while in %s mode\n"), + log_error (_("you may not use digest algorithm '%s'" + " while in %s mode\n"), gcry_md_algo_name (mdalgo), gnupg_compliance_option_string (opt.compliance)); err = gpg_error (GPG_ERR_DIGEST_ALGO); |