summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-02-24 14:17:41 +0000
committerMatt Caswell <matt@openssl.org>2017-03-02 17:44:16 +0000
commitf5b519c416ad70f0bc0e9a5750be1367224eee5a (patch)
tree4cfeee7dd8cd5659c71f4cfc2b439a847cf3084e /ssl
parent46dcb9457edc1bcf224a36f9d559363507440fd7 (diff)
Make SSL_get_early_data_status() take a const
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2737)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 70ff932b23..b36e4a7eaf 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1659,7 +1659,7 @@ int ssl_end_of_early_data_seen(SSL *s)
return 0;
}
-int SSL_get_early_data_status(SSL *s)
+int SSL_get_early_data_status(const SSL *s)
{
return s->ext.early_data;
}