diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2017-08-19 17:16:13 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2017-08-19 17:16:13 +0200 |
commit | 63300b49f30b3d63a551d4d568ae95fea24035ba (patch) | |
tree | f0cbad938d5ecac73806a7d9a5ae25268086fb31 /dbrandom.h | |
parent | 2eb1f9f6e588a675226bfefb379156378b065422 (diff) | |
download | dropbear-63300b49f30b3d63a551d4d568ae95fea24035ba.tar.gz |
Pointer parameter could be declared as pointing to const
Diffstat (limited to 'dbrandom.h')
-rw-r--r-- | dbrandom.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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_ */ |