summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_egd.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-05 23:14:32 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-11-05 23:14:32 +0000
commit0afc9f5bc0e7c5d77c6b6cc32e0cbdbcc405a57b (patch)
tree74c8662332a441333bb5ae3b948f9bbd6de28e4d /crypto/rand/rand_egd.c
parent2e5975285e2b65261ce780fa3f5744277b66db34 (diff)
PR: 1777
Submitted by: "Alon Bar-Lev" <alon.barlev@gmail.com> Approved by: steve@openssl.org Fix some size_t issues.
Diffstat (limited to 'crypto/rand/rand_egd.c')
-rw-r--r--crypto/rand/rand_egd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c
index 97334a92e1..4e8daad804 100644
--- a/crypto/rand/rand_egd.c
+++ b/crypto/rand/rand_egd.c
@@ -96,7 +96,7 @@
*/
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_VOS) || defined(OPENSSL_SYS_BEOS)
-int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
+int RAND_query_egd_bytes(const char *path, unsigned char *buf, size_t bytes)
{
return(-1);
}
@@ -105,7 +105,7 @@ int RAND_egd(const char *path)
return(-1);
}
-int RAND_egd_bytes(const char *path,int bytes)
+int RAND_egd_bytes(const char *path,size_t bytes)
{
return(-1);
}