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