]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Added tests for new behaviour of client.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 22 Jan 2010 21:27:35 +0000 (22:27 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 22 Jan 2010 21:27:35 +0000 (22:27 +0100)
tests/safe-renegotiation/testsrn

index a926245c4c38b3983c8d118b584e5a7d4335ecd1..5e1b67540d8820319f0cb53502dc75f88bcb0c46 100755 (executable)
@@ -58,11 +58,11 @@ $SERV -p $PORT --echo --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION --d
 # give the server a chance to initialize
 sleep 2
 
-$CLI -p $PORT localhost --rehandshake --priority NORMAL:+ANON-DH </dev/null >/dev/null 2>&1 && \
-  fail "9. Safe rehandshake should have failed!"
+$CLI -p $PORT localhost --priority NORMAL:+ANON-DH </dev/null >/dev/null 2>&1 && \
+  fail "9. Initial connection should have failed!"
 
-$CLI -p $PORT localhost --rehandshake --priority NORMAL:+ANON-DH:%UNSAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
-  fail "10. Unsafe rehandshake should have succeeded!"
+$CLI -p $PORT localhost --priority NORMAL:+ANON-DH:%UNSAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
+  fail "10. Unsafe connection should have succeeded!"
 
 $CLI -p $PORT localhost --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
   fail "11. Unsafe negotiation should have succeeded!"