mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
MINOR: quic_tls: Make use of the QUIC V1 salt.
This salt is used to derive the Initial secrets.
This commit is contained in:
parent
c5b0c93c26
commit
98ad56a049
@ -228,7 +228,7 @@ int quic_derive_initial_secret(const EVP_MD *md,
|
|||||||
const unsigned char *secret, size_t secret_sz)
|
const unsigned char *secret, size_t secret_sz)
|
||||||
{
|
{
|
||||||
if (!quic_hkdf_extract(md, initial_secret, &initial_secret_sz, secret, secret_sz,
|
if (!quic_hkdf_extract(md, initial_secret, &initial_secret_sz, secret, secret_sz,
|
||||||
initial_salt, sizeof initial_salt))
|
initial_salt_v1, sizeof initial_salt_v1))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user