aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/tls/s2n_key_log.c
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-04-19 09:30:08 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-04-19 09:30:08 +0300
commitbbce3f5cecdf453747a498f97c3a644782ba80ec (patch)
treedba4ad561b48e2f96e7b252b1d600fa3cd2815fd /contrib/restricted/aws/s2n/tls/s2n_key_log.c
parent9c7fa5c7b2caf9a0f6416289b2cd9e8feb19a191 (diff)
downloadydb-bbce3f5cecdf453747a498f97c3a644782ba80ec.tar.gz
Update contrib/restricted/aws/s2n to 1.3.42
Diffstat (limited to 'contrib/restricted/aws/s2n/tls/s2n_key_log.c')
-rw-r--r--contrib/restricted/aws/s2n/tls/s2n_key_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/restricted/aws/s2n/tls/s2n_key_log.c b/contrib/restricted/aws/s2n/tls/s2n_key_log.c
index ec2ea3cb6c..0ea0ed182f 100644
--- a/contrib/restricted/aws/s2n/tls/s2n_key_log.c
+++ b/contrib/restricted/aws/s2n/tls/s2n_key_log.c
@@ -160,7 +160,7 @@ S2N_RESULT s2n_key_log_tls12_secret(struct s2n_connection *conn)
RESULT_GUARD_POSIX(s2n_stuffer_write_bytes(&output, label, label_size));
RESULT_GUARD(s2n_key_log_hex_encode(&output, conn->handshake_params.client_random, S2N_TLS_RANDOM_DATA_LEN));
RESULT_GUARD_POSIX(s2n_stuffer_write_uint8(&output, ' '));
- RESULT_GUARD(s2n_key_log_hex_encode(&output, conn->secrets.tls12.master_secret, S2N_TLS_SECRET_LEN));
+ RESULT_GUARD(s2n_key_log_hex_encode(&output, conn->secrets.version.tls12.master_secret, S2N_TLS_SECRET_LEN));
uint8_t *data = s2n_stuffer_raw_read(&output, len);
RESULT_ENSURE_REF(data);