diff options
Diffstat (limited to 'src/lib/libssl/d1_clnt.c')
-rw-r--r-- | src/lib/libssl/d1_clnt.c | 7 |
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 @@ | |||
131 | static const SSL_METHOD *dtls1_get_client_method(int ver); | 131 | static const SSL_METHOD *dtls1_get_client_method(int ver); |
132 | static int dtls1_get_hello_verify(SSL *s); | 132 | static int dtls1_get_hello_verify(SSL *s); |
133 | 133 | ||
134 | static const SSL_METHOD | 134 | static const SSL_METHOD * |
135 | *dtls1_get_client_method(int ver) | 135 | dtls1_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 | ||
143 | IMPLEMENT_dtls1_meth_func(DTLSv1_client_method, | 142 | IMPLEMENT_dtls1_meth_func(DTLSv1_client_method, |