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 /include | |
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 'include')
-rw-r--r-- | include/openssl/ssl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 48e1152a27..f93dc68fef 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -2139,7 +2139,7 @@ size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx); # define SSL_cache_hit(s) SSL_session_reused(s) # endif -__owur int SSL_session_reused(SSL *s); +__owur int SSL_session_reused(const SSL *s); __owur int SSL_is_server(const SSL *s); __owur __owur SSL_CONF_CTX *SSL_CONF_CTX_new(void); |