_rs_random_buf is currently unused

This commit is contained in:
Todd C. Miller
2019-09-27 08:55:51 -06:00
parent bcf8c3dd5e
commit b7b3fb72d0

View File

@@ -160,6 +160,7 @@ _rs_rekey(unsigned char *dat, size_t datlen)
rs->rs_have = sizeof(rsx->rs_buf) - KEYSZ - IVSZ; rs->rs_have = sizeof(rsx->rs_buf) - KEYSZ - IVSZ;
} }
#ifdef notdef
static inline void static inline void
_rs_random_buf(void *_buf, size_t n) _rs_random_buf(void *_buf, size_t n)
{ {
@@ -183,6 +184,7 @@ _rs_random_buf(void *_buf, size_t n)
_rs_rekey(NULL, 0); _rs_rekey(NULL, 0);
} }
} }
#endif
static inline void static inline void
_rs_random_u32(uint32_t *val) _rs_random_u32(uint32_t *val)