simple change added to follow your pattern of excluding DTLS source to keep the source smaller. -JohnE G.
This commit is contained in:
parent
50c3ff2e3d
commit
d06d3c9925
@ -1039,10 +1039,12 @@ static void AddHeaders(byte* output, word32 length, byte type, SSL* ssl)
|
||||
AddRecordHeader(output, length + HANDSHAKE_HEADER_SZ, handshake, ssl);
|
||||
AddHandShakeHeader(output + RECORD_HEADER_SZ, length, type, ssl);
|
||||
}
|
||||
#ifdef CYASSL_DTLS
|
||||
else {
|
||||
AddRecordHeader(output, length+DTLS_HANDSHAKE_HEADER_SZ, handshake,ssl);
|
||||
AddHandShakeHeader(output + DTLS_RECORD_HEADER_SZ, length, type, ssl);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user