diff options
-rw-r--r-- | networking/tls.c | 2 | ||||
-rw-r--r-- | networking/tls.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/tls.c b/networking/tls.c index 2a0098674..1e0e0991c 100644 --- a/networking/tls.c +++ b/networking/tls.c @@ -337,7 +337,7 @@ static void dump_tls_record(const void *vp, int len) # define dump_tls_record(...) ((void)0) #endif -void tls_get_random(void *buf, unsigned len) +void FAST_FUNC tls_get_random(void *buf, unsigned len) { if (len != open_read_close("/dev/urandom", buf, len)) xfunc_die(); diff --git a/networking/tls.h b/networking/tls.h index 1d379c193..f2ef67aac 100644 --- a/networking/tls.h +++ b/networking/tls.h @@ -80,7 +80,7 @@ typedef int16_t int16; #define AES_BLOCK_SIZE 16 -void tls_get_random(void *buf, unsigned len); +void tls_get_random(void *buf, unsigned len) FAST_FUNC; #define matrixCryptoGetPrngData(buf, len, userPtr) (tls_get_random(buf, len), PS_SUCCESS) |