Since site_t is used, there's no more need to cast to int.
authorRichard Levitte <levitte@openssl.org>
Wed, 21 Mar 2001 18:39:43 +0000 (18:39 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 21 Mar 2001 18:39:43 +0000 (18:39 +0000)
crypto/rand/randfile.c

index 3ce294e4e0cf335936358b1de1a2e91230886a74..7548ac324c05e105aeeefe99772d0fb3c3d0a63b 100644 (file)
@@ -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