Extend DTLS method macros.
[openssl.git] / ssl / d1_meth.c
index 5c4004bfe3c7ddf97e2c32127c833e6fe04fb3df..0470624b3f0aa2f687a6131fe3487b3a8e518b30 100644 (file)
@@ -70,8 +70,10 @@ static const SSL_METHOD *dtls1_get_method(int ver)
                return(NULL);
        }
 
                return(NULL);
        }
 
-IMPLEMENT_dtls1_meth_func(DTLSv1_method,
+IMPLEMENT_dtls1_meth_func(DTLS1_VERSION,
+                       DTLSv1_method,
                        dtls1_accept,
                        dtls1_connect,
                        dtls1_accept,
                        dtls1_connect,
-                       dtls1_get_method)
+                       dtls1_get_method,
+                       DTLSv1_enc_data)