Skip to content

Commit 363cf3d

Browse files
committed
fixup! Use proper secrets for handshake
1 parent b03fee6 commit 363cf3d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ssl/tls13_enc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,10 +739,12 @@ int tls13_change_cipher_state(SSL *s, int which)
739739
}
740740
} else if (label == client_application_traffic)
741741
memcpy(s->client_app_traffic_secret, secret, hashlen);
742+
#ifndef OPENSSL_NO_QUIC
742743
else if (label == client_handshake_traffic)
743744
memcpy(s->client_hand_traffic_secret, secret, hashlen);
744745
else if (label == server_handshake_traffic)
745746
memcpy(s->server_hand_traffic_secret, secret, hashlen);
747+
#endif
746748

747749
if (!ssl_log_secret(s, log_label, secret, hashlen)) {
748750
/* SSLfatal() already called */

0 commit comments

Comments
 (0)