simple change added to follow your pattern of excluding DTLS source to keep the source smaller. -JohnE G.

This commit is contained in:
JohnE 2011-05-19 19:02:44 -07:00
parent 50c3ff2e3d
commit d06d3c9925

View File

@ -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
}