mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-23 18:23:25 +08:00
Extra brackets to prevent warning.
This commit is contained in:
parent
147ae57d4d
commit
a76085bda8
@ -51,7 +51,7 @@ _ssh_compat_getentropy(void *s, size_t len)
|
||||
size_t o = 0;
|
||||
|
||||
#ifdef HAVE_GETENTROPY
|
||||
if (r = getentropy(s, len) == 0)
|
||||
if ((r = getentropy(s, len)) == 0)
|
||||
return 0;
|
||||
#endif /* HAVE_GETENTROPY */
|
||||
#ifdef HAVE_GETRANDOM
|
||||
|
Loading…
Reference in New Issue
Block a user