Return 2 from X509_NAME printing routine to add newline.
[oweals/openssl.git] / ssl / d1_clnt.c
index 15ccf435fc65865796b8507456214cfaf3747182..7b38da0b7c94100a7d7e9e40f8fb54628236f325 100644 (file)
 #include <openssl/dh.h>
 #endif
 
-static SSL_METHOD *dtls1_get_client_method(int ver);
+static const SSL_METHOD *dtls1_get_client_method(int ver);
 static int dtls1_get_hello_verify(SSL *s);
 
-static SSL_METHOD *dtls1_get_client_method(int ver)
+static const SSL_METHOD *dtls1_get_client_method(int ver)
        {
        if (ver == DTLS1_VERSION)
                return(DTLSv1_client_method());