aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-09-18 15:51:18 +0000
committerWerner Koch <[email protected]>2003-09-18 15:51:18 +0000
commit918eee71958cec2af31542e44f8c83152c5c256f (patch)
treeae89c9ad99227cddaffc43dcee4fe5e466cf33a1 /g10/gpgv.c
parent(tty_fprintf): New. (diff)
downloadgnupg-918eee71958cec2af31542e44f8c83152c5c256f.tar.gz
gnupg-918eee71958cec2af31542e44f8c83152c5c256f.zip
* g10.c: New command --card-edit.
* card-util.c (card_status): Use tty_fprintf for all output. (print_sha1_fpr, print_isoname): Ditto. (get_one_name,change_name, change_url, change_login,change_lang) (change_sex): New; taken from keygen.c. * keygen.c (smartcard_get_one_name, smartcard_change_name) (smartcard_change_url, smartcard_change_login_data) (smartcard_change_lang, smartcard_change_sex): Removed. (check_smartcard): Removed most menu items.
Diffstat (limited to '')
-rw-r--r--g10/gpgv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index da108d225..fb96fad5c 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -363,9 +363,9 @@ void cipher_sync( CIPHER_HANDLE c ) {}
/* 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) {}