aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-01-11 00:52:50 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-01-11 00:52:50 +0000
commit9b4dc8308f32133ff1bd132e6b2d0321701d0a91 (patch)
tree0cc4d25ace83eba5ed7af3708bcb3e08e7cef613 /crypto/rand
parentb93642c5ccf3274e505080768f9ac199b036cc1d (diff)
downloadopenssl-9b4dc8308f32133ff1bd132e6b2d0321701d0a91.tar.gz
OCSP basic response verify. Very incomplete
but will verify the signatures on a response and locate the signers certifcate. Still needs to implement a proper OCSP certificate verify. Fix warning in RAND_egd().
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand_egd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c
index 28fb1f2c60..cc674f3783 100644
--- a/crypto/rand/rand_egd.c
+++ b/crypto/rand/rand_egd.c
@@ -131,7 +131,7 @@ int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
int RAND_egd(const char *path)
{
- int num, ret;
+ int num, ret = 0;
unsigned char buf[256];
num = RAND_query_egd_bytes(path, buf, 255);