summaryrefslogtreecommitdiff
path: root/src/cli.gaa
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-21 22:47:53 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-21 22:47:53 +0100
commit6ded62d3cf180b8905075770916836e00552fb1c (patch)
tree56ca8571f18e4e0b42cdaf414fca0f62a488fa11 /src/cli.gaa
parentbbc7b93c9e17201a0e298a99d875ae54fbad89cb (diff)
downloadgnutls-6ded62d3cf180b8905075770916836e00552fb1c.tar.gz
Added the --rehandshake option to gnutls-cli to allow connection and immediate rehandshake.
Diffstat (limited to 'src/cli.gaa')
-rw-r--r--src/cli.gaa5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cli.gaa b/src/cli.gaa
index 14d7b3da26..72502f7bf6 100644
--- a/src/cli.gaa
+++ b/src/cli.gaa
@@ -17,6 +17,9 @@ option (d, debug) INT "integer" { $debug = $1 } "Enable debugging"
#int resume;
option (r, resume) { $resume = 1 } "Connect, establish a session. Connect again and resume this session."
+#int rehandshake;
+option (e, rehandshake) { $rehandshake = 1 } "Connect, establish a session and rehandshake immediately."
+
#int noticket;
option (noticket) { $noticket = 1 } "Doen't accept session tickets."
@@ -133,4 +136,4 @@ init { $resume=0; $noticket=0; $port="443"; $rest_args=NULL; $ciphers=NULL;
$srp_username=NULL; $srp_passwd=NULL; $fmtder = 0; $starttls =0;
$debug = 0; $print_cert = 0; $verbose = 0; $psk_key = NULL;
$psk_username = NULL; $priorities = NULL;
- $opaque_prf_input = NULL; $pgp_subkey = NULL; }
+ $opaque_prf_input = NULL; $pgp_subkey = NULL; $rehandshake = 0; }