projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Continue standardising malloc style for libcrypto
[openssl.git]
/
crypto
/
rand
/
rand_os2.c
diff --git
a/crypto/rand/rand_os2.c
b/crypto/rand/rand_os2.c
index 0397d77c63236efa1d25e62aa32e9481a8a77ff6..d95cd24a3bc63309877ed23a617238ff638064d9 100644
(file)
--- a/
crypto/rand/rand_os2.c
+++ b/
crypto/rand/rand_os2.c
@@
-149,7
+149,7
@@
int RAND_poll(void)
if (DosQuerySysState) {
char *buffer = OPENSSL_malloc(256 * 1024);
- if (
!buffer
)
+ if (
buffer == NULL
)
return 0;
if (DosQuerySysState(0x1F, 0, 0, 0, buffer, 256 * 1024) == 0) {