From 63300b49f30b3d63a551d4d568ae95fea24035ba Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 19 Aug 2017 17:16:13 +0200 Subject: Pointer parameter could be declared as pointing to const --- dbrandom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbrandom.h') diff --git a/dbrandom.h b/dbrandom.h index 6bfb866..7f49b6a 100644 --- a/dbrandom.h +++ b/dbrandom.h @@ -29,7 +29,7 @@ void seedrandom(void); void genrandom(unsigned char* buf, unsigned int len); -void addrandom(unsigned char * buf, unsigned int len); +void addrandom(const unsigned char * buf, unsigned int len); void gen_random_mpint(mp_int *max, mp_int *rand); #endif /* DROPBEAR_RANDOM_H_ */ -- cgit v1.2.1