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_win.c
diff --git
a/crypto/rand/rand_win.c
b/crypto/rand/rand_win.c
index a91014bad36d41bb411787444fa38b1d63af7f59..7bf41616a6ae41b475c17fe89850d36163fb0b2c 100644
(file)
--- a/
crypto/rand/rand_win.c
+++ b/
crypto/rand/rand_win.c
@@
-712,7
+712,7
@@
static void readscreen(void)
bi.biClrImportant = 0;
bmbits = OPENSSL_malloc(size);
- if (bmbits) {
+ if (bmbits
!= NULL
) {
/* Now go through the whole screen, repeatedly grabbing n lines */
for (y = 0; y < h - n; y += n) {
unsigned char md[MD_DIGEST_LENGTH];