Browse Source

use malloc attribute

tags/v0.9.3
Holger Lubitz 17 years ago
parent
commit
f92096d180
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/tls.c

+ 1
- 1
src/net/tls.c View File

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;

Loading…
Cancel
Save