mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 21:53:48 +01:00
3b7d0ed08e
This reduces the likelihood that I have made any exploitable errors in the encoding/decoding. This commit also imports the trunnel runtime source into Tor.
19 lines
444 B
C
19 lines
444 B
C
|
|
#ifndef TRUNNEL_LOCAL_H_INCLUDED
|
|
#define TRUNNEL_LOCAL_H_INCLUDED
|
|
|
|
#include "util.h"
|
|
#include "compat.h"
|
|
#include "crypto.h"
|
|
|
|
#define trunnel_malloc tor_malloc
|
|
#define trunnel_calloc tor_calloc
|
|
#define trunnel_strdup tor_strdup
|
|
#define trunnel_free_ tor_free_
|
|
#define trunnel_realloc tor_realloc
|
|
#define trunnel_reallocarray tor_reallocarray
|
|
#define trunnel_assert tor_assert
|
|
#define trunnel_memwipe(mem, len) memwipe((mem), 0, (len))
|
|
|
|
#endif
|