From 9a3e2a745595a73e410db0da102619f9e44141e8 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 24 Nov 2014 16:26:30 -0500 Subject: [PATCH] Fail on empty token --- test/gssweb_client.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/gssweb_client.pl b/test/gssweb_client.pl index a3f7157..1550fd5 100755 --- a/test/gssweb_client.pl +++ b/test/gssweb_client.pl @@ -66,6 +66,7 @@ my $response_token = undef; } elsif ($status == 401) { print "Continuing\n"; $response_token = parse_token($www->content()); + die "Empty token supplied\n" if $response_token eq ""; } else { print "Unexpected response status: $status\n"; print $www->content(); -- 2.1.4