summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-06-24 14:43:55 +1000
committerPauli <paul.dale@oracle.com>2019-06-24 14:43:55 +1000
commit4e7991b497b65145ec5d570485020e1658208866 (patch)
tree34e384b7aa820b0b7ccefddee9a0fbd86c8850fb /ssl
parent0ccff7a7ea82a921f780a483fc91c6b90a1378d9 (diff)
Change OSSL_PARAM return size to not be a pointer.
Instead of referencing the return size from the OSSL_PARAM structure, make the size a field within the structure. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9135)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_enc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c
index 6c3b711072..3edbae284e 100644
--- a/ssl/s3_enc.c
+++ b/ssl/s3_enc.c
@@ -417,8 +417,7 @@ void ssl3_digest_master_key_set_params(const SSL_SESSION *session,
int n = 0;
params[n++] = OSSL_PARAM_construct_octet_string(OSSL_DIGEST_PARAM_SSL3_MS,
(void *)session->master_key,
- session->master_key_length,
- NULL);
+ session->master_key_length);
params[n++] = OSSL_PARAM_construct_end();
}