projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make update
[oweals/openssl.git]
/
crypto
/
rand
/
md_rand.c
diff --git
a/crypto/rand/md_rand.c
b/crypto/rand/md_rand.c
index 87fd9455e2071fe43f0feb3260af8697d7830775..6e10f6ef676184ffb7d18b2fb55641dbb7bbe0b6 100644
(file)
--- a/
crypto/rand/md_rand.c
+++ b/
crypto/rand/md_rand.c
@@
-520,7
+520,7
@@
static int ssleay_rand_pseudo_bytes(unsigned char *buf, int num)
err = ERR_peek_error();
if (ERR_GET_LIB(err) == ERR_LIB_RAND &&
ERR_GET_REASON(err) == RAND_R_PRNG_NOT_SEEDED)
-
(void)ERR_get
_error();
+
ERR_clear
_error();
}
return (ret);
}