Sfoglia il codice sorgente

use malloc attribute

tags/v0.9.3
Holger Lubitz 17 anni fa
parent
commit
f92096d180
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/net/tls.c

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

@@ -1044,7 +1044,7 @@ static void tls_hmac ( struct tls_session *tls __unused,
1044 1044
  * @ret plaintext_len	Length of plaintext record
1045 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 1048
 				    const void *data, size_t len,
1049 1049
 				    void *digest, size_t *plaintext_len ) {
1050 1050
 	size_t mac_len = tls->tx_cipherspec.digest->digestsize;

Loading…
Annulla
Salva