diff options
author | Werner Koch <[email protected]> | 2020-05-07 12:04:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-05-07 12:04:43 +0000 |
commit | 549998d1d057839ffe1be931bf4c46c7b4b94fab (patch) | |
tree | b7055e3b9d8199bd374894c9aaed87195dfaa591 /sm/sign.c | |
parent | scd:nks: Get the PIN prompts right for the Signature Card (diff) | |
download | gnupg-549998d1d057839ffe1be931bf4c46c7b4b94fab.tar.gz gnupg-549998d1d057839ffe1be931bf4c46c7b4b94fab.zip |
sm: Fix annoying warning about not yet implemented --attribute.
--
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/sign.c')
-rw-r--r-- | sm/sign.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -752,7 +752,8 @@ gpgsm_sign (ctrl_t ctrl, certlist_t signerlist, goto leave; } #else - log_info ("Note: option --attribute is ignored by this version\n"); + if (opt.attributes) + log_info ("Note: option --attribute is ignored by this version\n"); #endif /*ksba >= 1.4.0 */ |