summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-05-02 11:00:50 +0100
committerMatt Caswell <matt@openssl.org>2017-05-19 08:54:39 +0100
commit6944311688015ad293bd788ce78f3226738ebf00 (patch)
tree33015493330f9689383b13cea3957a06c9190747 /include
parentfb34a0f4e033246ef5f957bc57d2ebc904a519fc (diff)
Make SSL_is_server() accept a const SSL
Fixes #1526 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3360)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 20ec1e5d46..a2d6862831 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1996,7 +1996,7 @@ int SSL_set_block_padding(SSL *ssl, size_t block_size);
# endif
__owur int SSL_session_reused(SSL *s);
-__owur int SSL_is_server(SSL *s);
+__owur int SSL_is_server(const SSL *s);
__owur __owur SSL_CONF_CTX *SSL_CONF_CTX_new(void);
int SSL_CONF_CTX_finish(SSL_CONF_CTX *cctx);