|
|
|
|
1044
|
* @ret plaintext_len Length of plaintext record
|
1044
|
* @ret plaintext_len Length of plaintext record
|
1045
|
* @ret plaintext Allocated plaintext record
|
1045
|
* @ret plaintext Allocated plaintext record
|
1046
|
*/
|
1046
|
*/
|
1047
|
-static void * tls_assemble_stream ( struct tls_session *tls,
|
|
|
|
|
1047
|
+static void * __malloc tls_assemble_stream ( struct tls_session *tls,
|
1048
|
const void *data, size_t len,
|
1048
|
const void *data, size_t len,
|
1049
|
void *digest, size_t *plaintext_len ) {
|
1049
|
void *digest, size_t *plaintext_len ) {
|
1050
|
size_t mac_len = tls->tx_cipherspec.digest->digestsize;
|
1050
|
size_t mac_len = tls->tx_cipherspec.digest->digestsize;
|