Extend DTLS method macros.
Extend DTLS method creation macros to support version numbers and encryption
methods. Update existing code.
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index f2f991e..b1f8c5e 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -139,10 +139,12 @@
return(NULL);
}
-IMPLEMENT_dtls1_meth_func(DTLSv1_client_method,
+IMPLEMENT_dtls1_meth_func(DTLS1_VERSION,
+ DTLSv1_client_method,
ssl_undefined_function,
dtls1_connect,
- dtls1_get_client_method)
+ dtls1_get_client_method,
+ DTLSv1_enc_data)
int dtls1_connect(SSL *s)
{