Extend DTLS method macros.
[openssl.git] / ssl / d1_srvr.c
index 7934ad535d77ed59d21ce0bec73191c3ca6e35c0..6967d8eabf14dd8ed3ef4c40a1e84ea0a60ea9a5 100644 (file)
@@ -137,10 +137,12 @@ static const SSL_METHOD *dtls1_get_server_method(int ver)
                return(NULL);
        }
 
-IMPLEMENT_dtls1_meth_func(DTLSv1_server_method,
+IMPLEMENT_dtls1_meth_func(DTLS1_VERSION,
+                       DTLSv1_server_method,
                        dtls1_accept,
                        ssl_undefined_function,
-                       dtls1_get_server_method)
+                       dtls1_get_server_method,
+                       DTLSv1_enc_data)
 
 int dtls1_accept(SSL *s)
        {