Skip to content
Snippets Groups Projects
Commit c239baf8 authored by Gaël PORTAY's avatar Gaël PORTAY
Browse files

Turn addrandom()'s buf argument into unsigned char *

Data is usually represented as "unsigned char *" like genrandom().
parent 18638859
No related merge requests found
......@@ -141,7 +141,7 @@ out:
return ret;
}
void addrandom(char * buf, unsigned int len)
void addrandom(unsigned char * buf, unsigned int len)
{
hash_state hs;
......
......@@ -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_ */
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment