1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

sm: Fix annoying warning about not yet implemented --attribute.

--

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2020-05-07 14:04:43 +02:00
parent aecc008acb
commit 549998d1d0
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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 */