Skip to content

Commit

Permalink
Don't keep retrying DTLS if OpenSSL doesn't support it
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 Nov 24, 2008
1 parent a3017a4 commit f18a6cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dtls.c
Expand Up @@ -170,6 +170,7 @@ int connect_dtls_socket(struct openconnect_info *vpninfo)
"See http://rt.openssl.org/Ticket/Display.html?id=1751\n"
"Use the --no-dtls command line option to avoid this message\n",
vpninfo->dtls_session->ssl_version);
vpninfo->dtls_attempt_period = 0;
return -EINVAL;
}

Expand Down

0 comments on commit f18a6cb

Please sign in to comment.