Skip to content

Commit cfc8330

Browse files
plskeggsmbolivar-nordic
authored andcommitted
[nrf noup] Fix duplicate declaration of ad_len_field
squash! [nrf noup] Backport DTLS CID support compilant with RFC-9146 MBEDTLS_SSL_DTLS_CONNECTION_ID fails to build now because ad_len_field is defined twice. Remove the extra one. Regression from: cf39070 Should be squashed with that commit in next upmerge or rebase. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no> (cherry picked from commit 30c4a6c)
1 parent 63ba44c commit cfc8330

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

library/ssl_msg.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ static void ssl_extract_add_data_from_record( unsigned char* add_data,
521521
size_t ad_len_field = rec->data_len;
522522

523523
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
524-
size_t ad_len_field = rec->data_len;
525524
const unsigned char seq_num_placeholder[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
526525
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
527526

0 commit comments

Comments
 (0)