aboutsummaryrefslogtreecommitdiff
path: root/openssl/ssl/s3_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/ssl/s3_meth.c')
-rw-r--r--openssl/ssl/s3_meth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openssl/ssl/s3_meth.c b/openssl/ssl/s3_meth.c
index 6a6eb1c58..cdddb17b6 100644
--- a/openssl/ssl/s3_meth.c
+++ b/openssl/ssl/s3_meth.c
@@ -60,8 +60,8 @@
#include <openssl/objects.h>
#include "ssl_locl.h"
-static SSL_METHOD *ssl3_get_method(int ver);
-static SSL_METHOD *ssl3_get_method(int ver)
+static const SSL_METHOD *ssl3_get_method(int ver);
+static const SSL_METHOD *ssl3_get_method(int ver)
{
if (ver == SSL3_VERSION)
return(SSLv3_method());
@@ -70,8 +70,8 @@ static SSL_METHOD *ssl3_get_method(int ver)
}
IMPLEMENT_ssl3_meth_func(SSLv3_method,
- ssl3_accept,
- ssl3_connect,
- ssl3_get_method)
+ ssl3_accept,
+ ssl3_connect,
+ ssl3_get_method)