diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-20 17:51:20 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-20 17:51:23 +0200 |
commit | 7ae73db8bd74f0232580830f28f30710b6c163f7 (patch) | |
tree | c4106f6c30d3cb8ea04c617b5e70c905effd5b3f /src/cli.c | |
parent | ed02ed05035ea5f266fbdaac487bc334aa4ca4f7 (diff) | |
download | gnutls-7ae73db8bd74f0232580830f28f30710b6c163f7.tar.gz |
gnutls-cli: when no certificate is sent, notify the user
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1629,7 +1629,7 @@ static int do_handshake(socket_st * socket) if (ret == 0) { /* print some information */ - print_info(socket->session, verbose, 0); + print_info(socket->session, verbose, (HAVE_OPT(X509CERTFILE)||HAVE_OPT(PGPCERTFILE))?P_WAIT_FOR_CERT:0); socket->secure = 1; } else { gnutls_alert_send_appropriate(socket->session, ret); |