Signed vs. unsigned problem fix.
Reported by Rob Neff <neff.ra@home.com>
This commit is contained in:
parent
d58eb72f25
commit
c68f050647
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user