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 /ssl/ssl_lib.c | |
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 'ssl/ssl_lib.c')
-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 db14e22350..f9c7b4451b 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3725,7 +3725,7 @@ size_t SSL_SESSION_get_master_key(const SSL_SESSION *session, return outlen; } -int SSL_SESSION_set1_master_key(SSL_SESSION *sess, unsigned char *in, +int SSL_SESSION_set1_master_key(SSL_SESSION *sess, const unsigned char *in, size_t len) { if (len > sizeof(sess->master_key)) |