diff options
author | Werner Koch <wk@gnupg.org> | 2010-10-13 17:57:08 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-10-13 17:57:08 +0200 |
commit | 54591341a417ca769b2219a9b2f7683f11a74718 (patch) | |
tree | d4cd49932dec93aa9e20e1933ad16ba897965c46 /g10/misc.c | |
parent | Describe %v and %V. (diff) | |
download | gnupg2-54591341a417ca769b2219a9b2f7683f11a74718.tar.xz gnupg2-54591341a417ca769b2219a9b2f7683f11a74718.zip |
More agent support for gpg.
Diffstat (limited to 'g10/misc.c')
-rw-r--r-- | g10/misc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/g10/misc.c b/g10/misc.c index 91d1c310a..e3bebdd20 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -555,11 +555,10 @@ get_signature_count (PKT_public_key *pk) /* if(agent_scd_getattr("SIG-COUNTER",&info)==0) */ /* return info.sig_counter; */ /* } */ -#endif - - /* How to do this without a card? */ - +#else + (void)pk; return 0; +#endif } /* Expand %-strings. Returns a string which must be xfreed. Returns |