diff options
author | David Shaw <[email protected]> | 2004-09-15 18:41:36 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-09-15 18:41:36 +0000 |
commit | a46e83b8e31db620ec23dd0cb245a648d2f822a1 (patch) | |
tree | a53e5753d04e4e897946996e2fe0d1437ae64736 /g10/gpgv.c | |
parent | * configure.ac: Give warning when using capabilities. Check for (diff) | |
download | gnupg-a46e83b8e31db620ec23dd0cb245a648d2f822a1.tar.gz gnupg-a46e83b8e31db620ec23dd0cb245a648d2f822a1.zip |
* gpgv.c (agent_scd_getattr): Stub.
* misc.c (get_signature_count): New. Get the signature count from a
smartcard. (pct_expando): Call it here so the %c expando becomes the
number of signatures issued. This allows for notations or the like with
an automatic signature count.
* ccid-driver.c (usb_get_string_simple): Replacement function to work with
older libusb.
Diffstat (limited to 'g10/gpgv.c')
-rw-r--r-- | g10/gpgv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c index 9de44a15a..e0a9aed34 100644 --- a/g10/gpgv.c +++ b/g10/gpgv.c @@ -45,6 +45,7 @@ #include "i18n.h" #include "status.h" #include "g10defs.h" +#include "cardglue.h" enum cmd_and_opt_values { aNull = 0, @@ -339,6 +340,8 @@ void show_photos(const struct user_attribute *attrs,int count,PKT_public_key *pk int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len) {return 0;} char *image_type_to_string(byte type,int string) {return NULL;} +int agent_scd_getattr (const char *name, struct agent_card_info_s *info) {return 0;} + /* Stubs to void linking to ../cipher/cipher.c */ int string_to_cipher_algo( const char *string ) { return 0; } const char *cipher_algo_to_string( int algo ) { return "?";} |