Fixed unterminated B tag, causing build to fail with newer pod2man versions
[openssl.git] / ssl / d1_meth.c
index 0470624b3f0aa2f687a6131fe3487b3a8e518b30..ac86dec40d086eea774909c99f70517b88c591da 100644 (file)
@@ -66,6 +66,8 @@ static const SSL_METHOD *dtls1_get_method(int ver)
        {
        if (ver == DTLS1_VERSION)
                return(DTLSv1_method());
+       else if (ver == DTLS1_2_VERSION)
+               return(DTLSv1_2_method());
        else
                return(NULL);
        }
@@ -77,3 +79,17 @@ IMPLEMENT_dtls1_meth_func(DTLS1_VERSION,
                        dtls1_get_method,
                        DTLSv1_enc_data)
 
+IMPLEMENT_dtls1_meth_func(DTLS1_2_VERSION,
+                       DTLSv1_2_method,
+                       dtls1_accept,
+                       dtls1_connect,
+                       dtls1_get_method,
+                       DTLSv1_2_enc_data)
+
+IMPLEMENT_dtls1_meth_func(DTLS_ANY_VERSION,
+                       DTLS_method,
+                       dtls1_accept,
+                       dtls1_connect,
+                       dtls1_get_method,
+                       DTLSv1_2_enc_data)
+