cov 10413: crypto init a variable.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2841 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Angus Salkeld 2010-05-16 21:36:51 +00:00
parent b2a304d8f8
commit 71a09466e4

View File

@ -1254,7 +1254,7 @@ static unsigned long rng_nix(unsigned char *buf, unsigned long len,
void (*callback)(void))
{
int fd;
unsigned long rb;
unsigned long rb = 0;
fd = open ("/dev/urandom", O_RDONLY);