diff options
author | Nils Larsch <nils@openssl.org> | 2005-08-14 23:48:33 +0200 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-08-14 23:48:33 +0200 |
commit | 4ebb342fcd90562bce999dcc0915b16f816fbbf2 (patch) | |
tree | 8fca5a4355d82d34612c249c1f9b6ae9b1ec59b9 /ssl/s23_meth.c | |
parent | Eliminate reference to removed platform line. (diff) | |
download | openssl-4ebb342fcd90562bce999dcc0915b16f816fbbf2.tar.xz openssl-4ebb342fcd90562bce999dcc0915b16f816fbbf2.zip |
Let the TLSv1_method() etc. functions return a const SSL_METHOD
pointer and make the SSL_METHOD parameter in SSL_CTX_new,
SSL_CTX_set_ssl_version and SSL_set_ssl_method const.
Diffstat (limited to 'ssl/s23_meth.c')
-rw-r--r-- | ssl/s23_meth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c index c88569d32c..115dc11a7e 100644 --- a/ssl/s23_meth.c +++ b/ssl/s23_meth.c @@ -60,8 +60,8 @@ #include <openssl/objects.h> #include "ssl_locl.h" -static SSL_METHOD *ssl23_get_method(int ver); -static SSL_METHOD *ssl23_get_method(int ver) +static const SSL_METHOD *ssl23_get_method(int ver); +static const SSL_METHOD *ssl23_get_method(int ver) { if (ver == SSL2_VERSION) return(SSLv2_method()); |