Navigation Menu

Skip to content

Commit

Permalink
Clean up DTLS Session-ID length warning
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Sep 29, 2011
1 parent c2e1f96 commit aafaa23
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cstp.c
Expand Up @@ -212,9 +212,8 @@ static int start_cstp_connection(struct openconnect_info *vpninfo)
if (!strcmp(buf + 7, "Session-ID")) {
if (strlen(colon) != 64) {
vpn_progress(vpninfo, PRG_ERR,
_("X-DTLS-Session-ID not 64 characters\n"));
vpn_progress(vpninfo, PRG_ERR,
_("Is: %s\n"), colon);
_("X-DTLS-Session-ID not 64 characters; is: \"%s\"\n"),
colon);
vpninfo->dtls_attempt_period = 0;
return -EINVAL;
}
Expand Down

0 comments on commit aafaa23

Please sign in to comment.