projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b0c93
)
MINOR: quic_tls: Make use of the QUIC V1 salt.
author
Frédéric Lécaille
<flecaille@haproxy.com>
Tue, 6 Jul 2021 15:08:04 +0000
(17:08 +0200)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000
(15:27 +0200)
This salt is used to derive the Initial secrets.
src/quic_tls.c
patch
|
blob
|
history
diff --git
a/src/quic_tls.c
b/src/quic_tls.c
index
c27946a
..
11d5875
100644
(file)
--- a/
src/quic_tls.c
+++ b/
src/quic_tls.c
@@
-228,7
+228,7
@@
int quic_derive_initial_secret(const EVP_MD *md,
const unsigned char *secret, size_t 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 1;