diff options
author | Pauli <paul.dale@oracle.com> | 2019-06-24 14:43:55 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-06-24 14:43:55 +1000 |
commit | 4e7991b497b65145ec5d570485020e1658208866 (patch) | |
tree | 34e384b7aa820b0b7ccefddee9a0fbd86c8850fb /ssl/s3_enc.c | |
parent | 0ccff7a7ea82a921f780a483fc91c6b90a1378d9 (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/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 3 |
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(); } |