diff options
author | Matt Caswell <matt@openssl.org> | 2017-06-20 14:24:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-06-21 14:45:36 +0100 |
commit | 725b0f1e133495acc35378bd6304ec1d401a761c (patch) | |
tree | 32f0083c15bfdfa08834d95d97f532a549e66928 /include | |
parent | 8ead6158a961c9b86bc086fbe96c9fbbe715a8c5 (diff) |
Make the input parameters for SSL_SESSION_set1_master_key const
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3670)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index c0d3904a49..75fb1fcc7f 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1865,8 +1865,8 @@ __owur size_t SSL_get_server_random(const SSL *ssl, unsigned char *out, size_t outlen); __owur size_t SSL_SESSION_get_master_key(const SSL_SESSION *ssl, unsigned char *out, size_t outlen); -__owur int SSL_SESSION_set1_master_key(SSL_SESSION *sess, unsigned char *in, - size_t len); +__owur int SSL_SESSION_set1_master_key(SSL_SESSION *sess, + const unsigned char *in, size_t len); #define SSL_get_ex_new_index(l, p, newf, dupf, freef) \ CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, l, p, newf, dupf, freef) |