diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_meth.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/libssl/d1_meth.c b/src/lib/libssl/d1_meth.c index 5c4004bfe3..2d3f3920ec 100644 --- a/src/lib/libssl/d1_meth.c +++ b/src/lib/libssl/d1_meth.c | |||
| @@ -62,16 +62,14 @@ | |||
| 62 | #include "ssl_locl.h" | 62 | #include "ssl_locl.h" |
| 63 | 63 | ||
| 64 | static const SSL_METHOD *dtls1_get_method(int ver); | 64 | static const SSL_METHOD *dtls1_get_method(int ver); |
| 65 | static const SSL_METHOD *dtls1_get_method(int ver) | 65 | static const SSL_METHOD |
| 66 | { | 66 | *dtls1_get_method(int ver) |
| 67 | { | ||
| 67 | if (ver == DTLS1_VERSION) | 68 | if (ver == DTLS1_VERSION) |
| 68 | return(DTLSv1_method()); | 69 | return (DTLSv1_method()); |
| 69 | else | 70 | else |
| 70 | return(NULL); | 71 | return (NULL); |
| 71 | } | 72 | } |
| 72 | 73 | ||
| 73 | IMPLEMENT_dtls1_meth_func(DTLSv1_method, | 74 | IMPLEMENT_dtls1_meth_func(DTLSv1_method, |
| 74 | dtls1_accept, | 75 | dtls1_accept, dtls1_connect, dtls1_get_method) |
| 75 | dtls1_connect, | ||
| 76 | dtls1_get_method) | ||
| 77 | |||
