Skip to content

Commit

Permalink
Give up permanently when no DTLS cipher; don't keep complaining
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 Jun 10, 2009
1 parent cc30ccc commit e7934d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dtls.c
Expand Up @@ -115,6 +115,7 @@ int connect_dtls_socket(struct openconnect_info *vpninfo)
if (!vpninfo->dtls_cipher) {
/* We probably didn't offer it any ciphers it liked */
vpninfo->progress(vpninfo, PRG_ERR, "Server offered no DTLS cipher option\n");
vpninfo->dtls_attempt_period = 0;
return -EINVAL;
}

Expand Down

0 comments on commit e7934d9

Please sign in to comment.