diff options
author | Arne Schwabe <arne@rfc2549.org> | 2019-05-17 12:35:33 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-05-21 09:59:40 +1000 |
commit | 2c5afadc8679ef9a392ada7759c5635e897e363d (patch) | |
tree | 7b3a005da57e5d96870beb2dd3faf80a254900b4 /ssl | |
parent | fa00e0daf1b19e837cf9587ccb559c8319041bba (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)
(cherry picked from commit c04b66b18d1a90f0c6326858e4b8367be5444582)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index d7e1f328d6..f559bc10ef 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -4478,7 +4478,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; } |