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;
|
size_t o = 0;
|
||||||
|
|
||||||
#ifdef HAVE_GETENTROPY
|
#ifdef HAVE_GETENTROPY
|
||||||
if (r = getentropy(s, len) == 0)
|
if ((r = getentropy(s, len)) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
#endif /* HAVE_GETENTROPY */
|
#endif /* HAVE_GETENTROPY */
|
||||||
#ifdef HAVE_GETRANDOM
|
#ifdef HAVE_GETRANDOM
|
||||||
|
|
Loading…
Reference in New Issue