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:
68b08ab
)
Since site_t is used, there's no more need to cast to int.
author
Richard Levitte
<levitte@openssl.org>
Wed, 21 Mar 2001 18:39:43 +0000
(18:39 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 21 Mar 2001 18:39:43 +0000
(18:39 +0000)
crypto/rand/randfile.c
patch
|
blob
|
history
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index 3ce294e4e0cf335936358b1de1a2e91230886a74..7548ac324c05e105aeeefe99772d0fb3c3d0a63b 100644
(file)
--- 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