aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-21 18:39:43 +0000
committerRichard Levitte <levitte@openssl.org>2001-03-21 18:39:43 +0000
commitb222cf0624b61bc5681a8d5ad399de78c1eb28ee (patch)
treebaabc579afab609c241c8aaf16ab376fe0f8258f
parent68b08abb14d24664b5c4a98ccc44df6c37ef98a9 (diff)
downloadopenssl-b222cf0624b61bc5681a8d5ad399de78c1eb28ee.tar.gz
Since site_t is used, there's no more need to cast to int.
-rw-r--r--crypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 3ce294e4e0..7548ac324c 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -211,7 +211,7 @@ const char *RAND_file_name(char *buf, size_t size)
{
if (OPENSSL_issetugid() == 0)
s=getenv("HOME");
- if (s != NULL && ((int)(strlen(s)+strlen(RFILE)+2) < size))
+ if (s != NULL && (strlen(s)+strlen(RFILE)+2 < size))
{
strcpy(buf,s);
#ifndef VMS