aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-03-18 09:30:35 +0000
committerWerner Koch <[email protected]>2002-03-18 09:30:35 +0000
commitc39b866d2a0396b18560f4eff069299bd30415ec (patch)
tree7d2c7a08a88f16749f064e78c5bdc6004ac5fa53 /scd/scdaemon.h
parent* decrypt.c (gpgsm_decrypt): Allow multiple recipients. (diff)
downloadgnupg-c39b866d2a0396b18560f4eff069299bd30415ec.tar.gz
gnupg-c39b866d2a0396b18560f4eff069299bd30415ec.zip
Doc fixes, moved some fizmes to TODO, fixed minor bugs.
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r--scd/scdaemon.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index bd604b41c..9c8af5d92 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -83,15 +83,15 @@ void card_close (CARD card);
int card_get_serial_and_stamp (CARD card, char **serial, time_t *stamp);
int card_enum_keypairs (CARD card, int idx,
unsigned char *keygrip,
- unsigned char **keyid, size_t *nkeyid);
+ char **keyid);
int card_read_cert (CARD card, const char *certidstr,
unsigned char **cert, size_t *ncert);
-int card_create_signature (CARD card,
- const char *keyidstr, int hashalgo,
- int (pincb)(void*, const char *, char **),
- void *pincb_arg,
- const void *indata, size_t indatalen,
- void **outdata, size_t *outdatalen );
+int card_sign (CARD card,
+ const char *keyidstr, int hashalgo,
+ int (pincb)(void*, const char *, char **),
+ void *pincb_arg,
+ const void *indata, size_t indatalen,
+ void **outdata, size_t *outdatalen );
int card_decipher (CARD card, const char *keyidstr,
int (pincb)(void*, const char *, char **),
void *pincb_arg,