projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58eb72
)
Signed vs. unsigned problem fix.
author
Richard Levitte
<levitte@openssl.org>
Wed, 14 Mar 2001 13:32:16 +0000
(13:32 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 14 Mar 2001 13:32:16 +0000
(13:32 +0000)
Reported by Rob Neff <neff.ra@home.com>
crypto/rand/randfile.c
patch
|
blob
|
history
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index a92541371fd4aedbb560c9a7be3041cef013b817..ce1730bd7663958592c715a965223bff23f1025f 100644
(file)
--- 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