summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_clnt.c')
-rw-r--r--src/lib/libssl/d1_clnt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c
index b919baf7fa..6bceeea55b 100644
--- a/src/lib/libssl/d1_clnt.c
+++ b/src/lib/libssl/d1_clnt.c
@@ -131,13 +131,12 @@
131static const SSL_METHOD *dtls1_get_client_method(int ver); 131static const SSL_METHOD *dtls1_get_client_method(int ver);
132static int dtls1_get_hello_verify(SSL *s); 132static int dtls1_get_hello_verify(SSL *s);
133 133
134static const SSL_METHOD 134static const SSL_METHOD *
135*dtls1_get_client_method(int ver) 135dtls1_get_client_method(int ver)
136{ 136{
137 if (ver == DTLS1_VERSION || ver == DTLS1_BAD_VER) 137 if (ver == DTLS1_VERSION || ver == DTLS1_BAD_VER)
138 return (DTLSv1_client_method()); 138 return (DTLSv1_client_method());
139 else 139 return (NULL);
140 return (NULL);
141} 140}
142 141
143IMPLEMENT_dtls1_meth_func(DTLSv1_client_method, 142IMPLEMENT_dtls1_meth_func(DTLSv1_client_method,