From c68f0506474b70ba35dd17a4477fb2d15d639bcb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 14 Mar 2001 13:32:16 +0000 Subject: [PATCH] Signed vs. unsigned problem fix. Reported by Rob Neff --- 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 a92541371f..ce1730bd76 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -211,7 +211,7 @@ const char *RAND_file_name(char *buf, int size) { if (OPENSSL_issetugid() == 0) s=getenv("HOME"); - if (s != NULL && (strlen(s)+strlen(RFILE)+2 < size)) + if (s != NULL && ((int)(strlen(s)+strlen(RFILE)+2) < size)) { strcpy(buf,s); #ifndef VMS -- 2.25.1