diff options
author | Nils Larsch <nils@openssl.org> | 2005-08-14 21:48:33 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-08-14 21:48:33 +0000 |
commit | 4ebb342fcd90562bce999dcc0915b16f816fbbf2 (patch) | |
tree | 8fca5a4355d82d34612c249c1f9b6ae9b1ec59b9 /ssl/ssl_sess.c | |
parent | 8e5ef8538abfe1e4217ee3f51fafba8e743b93cd (diff) |
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/ssl_sess.c')
-rw-r--r-- | ssl/ssl_sess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 5d00a98a74..1da69cf787 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -553,7 +553,7 @@ void SSL_SESSION_free(SSL_SESSION *ss) int SSL_set_session(SSL *s, SSL_SESSION *session) { int ret=0; - SSL_METHOD *meth; + const SSL_METHOD *meth; if (session != NULL) { |