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)
This commit is contained in:
parent
46dcb9457e
commit
f5b519c416
2 changed files with 2 additions and 2 deletions
|
@ -1634,7 +1634,7 @@ long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
|
|||
# define SSL_EARLY_DATA_REJECTED 1
|
||||
# define SSL_EARLY_DATA_ACCEPTED 2
|
||||
|
||||
__owur int SSL_get_early_data_status(SSL *s);
|
||||
__owur int SSL_get_early_data_status(const SSL *s);
|
||||
|
||||
__owur int SSL_get_error(const SSL *s, int ret_code);
|
||||
__owur const char *SSL_get_version(const SSL *s);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue