summaryrefslogtreecommitdiffhomepage
path: root/dbrandom.h
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-02 13:48:16 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:39:13 +0200
commitc239baf801168d02dc781bcc7d1de42d2da96ec2 (patch)
tree5a1ed3f2b0e2a6521b689074678955582ea073a2 /dbrandom.h
parent18638859e6cce9289700cdf0a55af207521d3b1d (diff)
Turn addrandom()'s buf argument into unsigned char *
Data is usually represented as "unsigned char *" like genrandom().
Diffstat (limited to 'dbrandom.h')
-rw-r--r--dbrandom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbrandom.h b/dbrandom.h
index 3434f69..6e262f3 100644
--- a/dbrandom.h
+++ b/dbrandom.h
@@ -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_ */