Extend DTLS method macros.

Extend DTLS method creation macros to support version numbers and encryption
methods. Update existing code.
This commit is contained in:
Dr. Stephen Henson
2013-03-19 15:51:26 +00:00
parent 874a18cfad
commit cfd298b7ae
4 changed files with 16 additions and 9 deletions

View 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)
{