(RAND_write_file): default to failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20091 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -156,7 +156,7 @@ RAND_write_file(const char *filename)
|
||||
{
|
||||
unsigned char buf[128];
|
||||
size_t len;
|
||||
int res, fd;
|
||||
int res = 0, fd;
|
||||
|
||||
fd = open(filename, O_WRONLY | O_CREAT | O_BINARY, 0600);
|
||||
if (fd < 0)
|
||||
|
Reference in New Issue
Block a user