aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-10-08 15:21:20 +0000
committerWerner Koch <[email protected]>2003-10-08 15:21:20 +0000
commit72c648c0352cff27ac91e4e02f47e510711b7442 (patch)
treef0025e23ed0cc6558e6f310219d8b98baeb5b09c /g10/gpgv.c
parent(tty_print_string, tty_print_utf8_string2) (diff)
downloadgnupg-72c648c0352cff27ac91e4e02f47e510711b7442.tar.gz
gnupg-72c648c0352cff27ac91e4e02f47e510711b7442.zip
* cardglue.c (pin_cb): Detect whether an admin or regular PIN is
requested. (genkey_status_cb): New. (agent_scd_genkey): Implemented. * keygen.c (generate_keypair): New arg CARD_SERIALNO and prepare parameters for on card key generation. Changed all callers. (do_generate_keypair): Add new arg card and merged casrd specific changes from 1.9. (proc_parameter_file): New arg card, apss it down to do_generate_keypair and changed all callers. (gen_card_key): New. * g10.c: Include cardclue.h. (main): s/app_set_default_reader_port/card_set_reader_port/. * cardglue.c (card_set_reader_port): New to address include file issues.
Diffstat (limited to 'g10/gpgv.c')
-rw-r--r--g10/gpgv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index 0701ead8e..c01263fe4 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -385,9 +385,9 @@ void rndlinux_constructor(void) {}
/* Stubs to avoid linking to ../util/ttyio.c */
int tty_batchmode( int onoff ) { return 0; }
void tty_printf( const char *fmt, ... ) { }
-void tty_print_string( byte *p, size_t n ) { }
-void tty_print_utf8_string( byte *p, size_t n ) {}
-void tty_print_utf8_string2( byte *p, size_t n, size_t max_n ) {}
+void tty_print_string( const byte *p, size_t n ) { }
+void tty_print_utf8_string( const byte *p, size_t n ) {}
+void tty_print_utf8_string2( const byte *p, size_t n, size_t max_n ) {}
char *tty_get( const char *prompt ) { return NULL;}
char *tty_get_hidden( const char *prompt ) {return NULL; }
void tty_kill_prompt(void) {}