summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2019-05-17 12:35:33 +0200
committerPauli <paul.dale@oracle.com>2019-05-21 09:58:50 +1000
commitc04b66b18d1a90f0c6326858e4b8367be5444582 (patch)
treec06844ce4c031b832e7ca4884ff28619ed990bfc /ssl
parent9830e7ea42b9c0f95ea1f4b09aa2e60fa7d3115f (diff)
Change SSL parameter SSL_session_reused const
This function only returns a status and does not modify the parameter. Since similar function are already taking const parameters, also change this function to have a const parameter. Fixes #8934 CLA: trivial Signed-off-by: Arne Schwabe <arne@rfc2549.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8945)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 910f82be43..03c768010b 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -4606,7 +4606,7 @@ int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen,
return ret;
}
-int SSL_session_reused(SSL *s)
+int SSL_session_reused(const SSL *s)
{
return s->hit;
}