mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
fix signedness error in prototype
This commit is contained in:
parent
a9cf0ca25f
commit
9f3c817491
3
random.c
3
random.c
@ -26,6 +26,7 @@
|
|||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
#include "dbutil.h"
|
#include "dbutil.h"
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
|
#include "random.h"
|
||||||
|
|
||||||
/* this is used to generate unique output from the same hashpool */
|
/* this is used to generate unique output from the same hashpool */
|
||||||
static uint32_t counter = 0;
|
static uint32_t counter = 0;
|
||||||
@ -136,7 +137,7 @@ out:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void addrandom(char * buf, int len)
|
void addrandom(char * buf, unsigned int len)
|
||||||
{
|
{
|
||||||
hash_state hs;
|
hash_state hs;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user