diff options
author | Matt Caswell <matt@openssl.org> | 2017-05-02 11:00:50 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-05-19 09:01:07 +0100 |
commit | e68f0ea8d3c87a018646ac652b57a18da41cfbf6 (patch) | |
tree | 2f1cf2e80dfe8141ecddc67a4d83ba142cc3db4d /ssl | |
parent | 32c2da97c998bfb0687c4c08c97810dfcbf4ff7f (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)
(cherry picked from commit 6944311688015ad293bd788ce78f3226738ebf00)
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 cf246157ce..9f9dce6c1e 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3776,7 +3776,7 @@ int SSL_session_reused(SSL *s) return s->hit; } -int SSL_is_server(SSL *s) +int SSL_is_server(const SSL *s) { return s->server; } |