From b222cf0624b61bc5681a8d5ad399de78c1eb28ee Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 21 Mar 2001 18:39:43 +0000 Subject: [PATCH] Since site_t is used, there's no more need to cast to int. --- crypto/rand/randfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1