projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aceb9e
)
Use correct libctx when fetching the TLS1 PRF in libssl
author
Matt Caswell
<matt@openssl.org>
Thu, 12 Mar 2020 14:50:37 +0000
(14:50 +0000)
committer
Matt Caswell
<matt@openssl.org>
Mon, 23 Mar 2020 11:23:26 +0000
(11:23 +0000)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11357)
ssl/t1_enc.c
patch
|
blob
|
history
diff --git
a/ssl/t1_enc.c
b/ssl/t1_enc.c
index 6ce5235882cb9cba18b437cc23c55aa2c49f424b..1a0d5eba874e415c9fbab03c54c9ad4b7d469613 100644
(file)
--- a/
ssl/t1_enc.c
+++ b/
ssl/t1_enc.c
@@
-46,7
+46,7
@@
static int tls1_PRF(SSL *s,
SSLerr(SSL_F_TLS1_PRF, ERR_R_INTERNAL_ERROR);
return 0;
}
- kdf = EVP_KDF_fetch(
NULL, OSSL_KDF_NAME_TLS1_PRF, NULL
);
+ kdf = EVP_KDF_fetch(
s->ctx->libctx, OSSL_KDF_NAME_TLS1_PRF, s->ctx->propq
);
if (kdf == NULL)
goto err;
kctx = EVP_KDF_CTX_new(kdf);