mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
prf redirection build fixes
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
02f7037247
commit
aa291c62a7
@ -142,7 +142,7 @@ static int pkey_tls1_prf_derive(EVP_PKEY_CTX *ctx, unsigned char *key,
|
||||
size_t *keylen)
|
||||
{
|
||||
TLS1_PRF_PKEY_CTX *kctx = ctx->data;
|
||||
if (kctx->md == NULL || kctx->sec == NULL || kctx->seed == NULL)
|
||||
if (kctx->md == NULL || kctx->sec == NULL || kctx->seedlen == 0)
|
||||
return 0;
|
||||
return tls1_prf_alg(kctx->md, kctx->sec, kctx->seclen,
|
||||
kctx->seed, kctx->seedlen,
|
||||
|
@ -65,6 +65,7 @@ my @dirs = (
|
||||
"crypto/async",
|
||||
"crypto/chacha",
|
||||
"crypto/poly1305",
|
||||
"crypto/kdf",
|
||||
"ssl",
|
||||
"apps",
|
||||
"engines",
|
||||
|
Loading…
Reference in New Issue
Block a user