summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-19 19:25:08 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-19 19:26:44 +0200
commit68553a7df109d75b38817e1ed5cc9f997dc962d1 (patch)
tree2db5fda26f46c9a715ef6b6e3f5c27780ec8bea6 /src
parent8c938ef383dba26c3663ad0b3ce59d1260307930 (diff)
downloadgnutls-68553a7df109d75b38817e1ed5cc9f997dc962d1.tar.gz
gnutls-cli-debug: enable socket verbosity when --verbose is given
Diffstat (limited to 'src')
-rw-r--r--src/cli-debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli-debug.c b/src/cli-debug.c
index 8ebec4e426..18bce20977 100644
--- a/src/cli-debug.c
+++ b/src/cli-debug.c
@@ -264,6 +264,8 @@ int main(int argc, char **argv)
}
socket_open(&hd, hostname, portname, 0, NULL);
+ hd.verbose = verbose;
+
socket_starttls(&hd, app_proto);
gnutls_init(&state, GNUTLS_CLIENT | GNUTLS_NO_EXTENSIONS);