From 6cc4702767eec5506a974aa942868066a40cf54c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 19 Jun 2017 17:42:50 +0200 Subject: indent: Always use "_(" and not "_ (" to mark translatable strings. -- This makes greping much easier and we have done that since ever. Signed-off-by: Werner Koch --- sm/decrypt.c | 4 ++-- sm/encrypt.c | 4 ++-- sm/gpgsm.c | 12 ++++++------ sm/sign.c | 4 ++-- sm/verify.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'sm') diff --git a/sm/decrypt.c b/sm/decrypt.c index 6909b157f..7d43405f4 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 (_("you may not use cipher algorithm '%s'" + " while in %s mode\n"), gcry_cipher_algo_name (algo), gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_CIPHER_ALGO); diff --git a/sm/encrypt.c b/sm/encrypt.c index 45860a89f..9957bb90f 100644 --- a/sm/encrypt.c +++ b/sm/encrypt.c @@ -411,8 +411,8 @@ gpgsm_encrypt (ctrl_t ctrl, certlist_t recplist, int data_fd, estream_t out_fp) 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 (_("you may not use cipher algorithm '%s'" + " while in %s mode\n"), opt.def_cipher_algoid, gnupg_compliance_option_string (opt.compliance)); rc = gpg_error (GPG_ERR_CIPHER_ALGO); diff --git a/sm/gpgsm.c b/sm/gpgsm.c index c462544e2..5277140f2 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1627,8 +1627,8 @@ main ( int argc, char **argv) cmd == aEncr || cmd == aSignEncr, gcry_cipher_mode_from_oid (opt.def_cipher_algoid), 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"), opt.def_cipher_algoid, gnupg_compliance_option_string (opt.compliance)); if (forced_digest_algo @@ -1637,8 +1637,8 @@ main ( int argc, char **argv) || cmd == aSignEncr || cmd == aClearsign, opt.forced_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"), forced_digest_algo, gnupg_compliance_option_string (opt.compliance)); if (extra_digest_algo @@ -1647,8 +1647,8 @@ main ( int argc, char **argv) || cmd == aSignEncr || cmd == aClearsign, opt.extra_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"), forced_digest_algo, gnupg_compliance_option_string (opt.compliance)); if (log_get_errorcount(0)) diff --git a/sm/sign.c b/sm/sign.c index 2fbee7516..7ba231939 100644 --- a/sm/sign.c +++ b/sm/sign.c @@ -464,8 +464,8 @@ gpgsm_sign (ctrl_t ctrl, certlist_t signerlist, /* Check compliance. */ if (! gnupg_digest_is_allowed (opt.compliance, 1, cl->hash_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 (cl->hash_algo), gnupg_compliance_option_string (opt.compliance)); err = gpg_error (GPG_ERR_DIGEST_ALGO); diff --git a/sm/verify.c b/sm/verify.c index 89f06efee..f79c0aeb8 100644 --- a/sm/verify.c +++ b/sm/verify.c @@ -467,8 +467,8 @@ gpgsm_verify (ctrl_t ctrl, int in_fd, int data_fd, estream_t out_fp) if (! gnupg_digest_is_allowed (opt.compliance, 0, sigval_hash_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 (sigval_hash_algo), gnupg_compliance_option_string (opt.compliance)); goto next_signer; -- cgit v1.2.3