Skip to content

Commit

Permalink
Quick fix: s2c to c2s for early secret
Browse files Browse the repository at this point in the history
  • Loading branch information
tmshort committed Aug 30, 2019
1 parent f97e6a9 commit 1b787ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/ssl_quic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1b787ae

Please sign in to comment.