diff dbrandom.h @ 1096:a9e4d66ffb2c

Turn addrandom()'s buf argument into unsigned char * Data is usually represented as "unsigned char *" like genrandom().
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 13:48:16 +0200
parents deed0571cacc
children 9169e4e7cbee
line wrap: on
line diff
--- a/dbrandom.h	Sat May 02 15:58:33 2015 +0200
+++ b/dbrandom.h	Sat May 02 13:48:16 2015 +0200
@@ -29,7 +29,7 @@
 
 void seedrandom();
 void genrandom(unsigned char* buf, unsigned int len);
-void addrandom(char * buf, unsigned int len);
+void addrandom(unsigned char * buf, unsigned int len);
 void gen_random_mpint(mp_int *max, mp_int *rand);
 
 #endif /* DROPBEAR_RANDOM_H_ */