aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl/ssl.h
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-09-15 21:37:14 +0200
committerRich Salz <rsalz@openssl.org>2016-09-18 00:22:00 -0400
commit81f9ce1e1965e0e33db6d2391285c4c1b6af0434 (patch)
tree026d9748c8d595b74951da498a30483db0e5a144 /include/openssl/ssl.h
parent66fe388aa410820d80ab1d99730b64b1b56a89d4 (diff)
downloadopenssl-81f9ce1e1965e0e33db6d2391285c4c1b6af0434.tar.gz
Constify code about X509_VERIFY_PARAM
Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1594)
Diffstat (limited to 'include/openssl/ssl.h')
-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 af6d9b5ad6..1fcdbd2267 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1493,7 +1493,7 @@ __owur int SSL_set_trust(SSL *s, int trust);
__owur int SSL_set1_host(SSL *s, const char *hostname);
__owur int SSL_add1_host(SSL *s, const char *hostname);
-__owur const char *SSL_get0_peername(SSL *s);
+__owur const char *SSL_get0_peername(const SSL *s);
void SSL_set_hostflags(SSL *s, unsigned int flags);
__owur int SSL_CTX_dane_enable(SSL_CTX *ctx);