summaryrefslogtreecommitdiffstats
path: root/ssl/d1_srvr.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-03-19 15:51:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-03-26 15:16:41 +0000
commitcfd298b7aef2b095bee8d172a6a40d6c59d1574b (patch)
treefdc5d7d5991c537eed090b382d51720d97b03658 /ssl/d1_srvr.c
parent874a18cfadc6bac0ad73482325f2ca72dfccdb82 (diff)
Extend DTLS method macros.
Extend DTLS method creation macros to support version numbers and encryption methods. Update existing code.
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r--ssl/d1_srvr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index 7934ad535d..6967d8eabf 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -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)
{