diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-10-14 19:00:57 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-10-14 19:00:57 +0000 |
commit | aa9627dbca1ce74df9855d2c7a38c00dd88f4d87 (patch) | |
tree | fca433eb1d4cbf3c270bf0b39a387cb843436334 /src | |
parent | e1ad17c1d1991c32d57f3606bc4fcf0701959d3f (diff) | |
download | gnutls-aa9627dbca1ce74df9855d2c7a38c00dd88f4d87.tar.gz |
added some more verbose messages to the client to report whether it sent any certificates or not.
Diffstat (limited to 'src')
-rw-r--r-- | src/cli.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -191,7 +191,7 @@ static void load_keys(void) exit(1); } x509_crt_size = ret; - /* fprintf(stderr, "Processed %d client certificates...\n", ret); */ + fprintf(stderr, "Processed %d client certificates...\n", ret); unload_file(data); @@ -213,6 +213,8 @@ static void load_keys(void) } unload_file(data); + + fprintf(stderr, "Processed %d client X.509 certificates...\n", x509_crt_size); } #ifdef USE_OPENPGP if (pgp_certfile != NULL && pgp_keyfile != NULL) { @@ -255,6 +257,7 @@ static void load_keys(void) } unload_file(data); + fprintf(stderr, "Processed 1 client PGP certificate...\n"); } #endif @@ -330,6 +333,7 @@ static int cert_callback(gnutls_session session, } } + printf("- Successfully sent %d certificate(s) to server.\n", st->ncerts); return 0; } |