diff options
author | Werner Koch <wk@gnupg.org> | 2017-06-20 08:31:07 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-06-23 12:01:20 +0200 |
commit | e0877a98a06de797184d3871545979887d5c2b38 (patch) | |
tree | f1088568dda0c29a8deec9568fbf0f36c15b853e /sm/decrypt.c | |
parent | gpg: Close cached keydb handle in gpgv. (diff) | |
download | gnupg2-e0877a98a06de797184d3871545979887d5c2b38.tar.xz gnupg2-e0877a98a06de797184d3871545979887d5c2b38.zip |
indent,i18n: Make some new strings translatable. Wrap too long lines.
--
Diffstat (limited to 'sm/decrypt.c')
-rw-r--r-- | sm/decrypt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c index 16181df00..170ad5ad3 100644 --- a/sm/decrypt.c +++ b/sm/decrypt.c @@ -481,7 +481,8 @@ gpgsm_decrypt (ctrl_t ctrl, int in_fd, estream_t out_fp) int pk_algo = gpgsm_get_key_algo_info (cert, &nbits); /* Check compliance. */ - if (! gnupg_pk_is_allowed (opt.compliance, PK_USE_DECRYPTION, + if (! gnupg_pk_is_allowed (opt.compliance, + PK_USE_DECRYPTION, pk_algo, NULL, nbits, NULL)) { log_error ("certificate ID 0x%08lX not suitable for " |