From 1b787ae0b9317c08b880f57e47572dda5e788726 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Thu, 29 Aug 2019 20:21:58 -0400 Subject: [PATCH] Quick fix: s2c to c2s for early secret --- ssl/ssl_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/ssl_quic.c b/ssl/ssl_quic.c index d9d3ddbd0813f..0fa6c32820c39 100644 --- a/ssl/ssl_quic.c +++ b/ssl/ssl_quic.c @@ -207,7 +207,7 @@ int quic_set_encryption_secrets(SSL *ssl, OSSL_ENCRYPTION_LEVEL level) /* secrets from the POV of the client */ switch (level) { case ssl_encryption_early_data: - s2c_secret = ssl->early_secret; + c2s_secret = ssl->early_secret; break; case ssl_encryption_handshake: c2s_secret = ssl->client_hand_traffic_secret;