aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-09-24 14:34:45 +0000
committerDavid Shaw <[email protected]>2004-09-24 14:34:45 +0000
commit680be9be101aa2edb2bd058046b6f757c5c93ad2 (patch)
treefedcf4dd3fd3602219049d5f3d31f4f3c050b001 /g10/gpgv.c
parentNote: I have not fully tested the new key creation due to a pc/sc (diff)
downloadgnupg-680be9be101aa2edb2bd058046b6f757c5c93ad2.tar.gz
gnupg-680be9be101aa2edb2bd058046b6f757c5c93ad2.zip
* keyedit.c (keyedit_menu), gpgv.c (agent_scd_getattr (stub)), keygen.c
(copy_mpi, generate_raw_key): Fix a compile problem and a few warnings when building without card support.
Diffstat (limited to '')
-rw-r--r--g10/gpgv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index e0a9aed34..a2d5ad391 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -340,7 +340,9 @@ 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;}
+#ifdef ENABLE_CARD_SUPPORT
int agent_scd_getattr (const char *name, struct agent_card_info_s *info) {return 0;}
+#endif /* ENABLE_CARD_SUPPORT */
/* Stubs to void linking to ../cipher/cipher.c */
int string_to_cipher_algo( const char *string ) { return 0; }