Skip to content

Commit d9bba72

Browse files
committed
tls13: merge guarded code in a single section
1 parent 80c1228 commit d9bba72

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/tls13.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5744,15 +5744,13 @@ static int DoTls13EncryptedExtensions(WOLFSSL* ssl, const byte* input,
57445744
if (ext == NULL || !ext->val)
57455745
ssl->earlyData = no_early_data;
57465746
}
5747-
#endif
57485747

5749-
#ifdef WOLFSSL_EARLY_DATA
57505748
if (ssl->earlyData == no_early_data) {
57515749
ret = SetKeysSide(ssl, ENCRYPT_SIDE_ONLY);
57525750
if (ret != 0)
57535751
return ret;
57545752
}
5755-
#endif
5753+
#endif /* WOLFSSL_EARLY_DATA */
57565754

57575755
ssl->options.serverState = SERVER_ENCRYPTED_EXTENSIONS_COMPLETE;
57585756

0 commit comments

Comments
 (0)