History log of /openssl/crypto/rand/randfile.c (Results 76 – 100 of 119)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OpenSSL-engine-0_9_6l, OpenSSL_0_9_6l, BEN_FIPS_TEST_3, BEN_FIPS_TEST_2, BEN_FIPS_TEST_1, OpenSSL-engine-0_9_6k, OpenSSL_0_9_6k, OpenSSL_0_9_7c, OpenSSL-engine-0_9_6j, OpenSSL_0_9_7b, OpenSSL_0_9_6j, OpenSSL-engine-0_9_6i, OpenSSL_0_9_6i, OpenSSL_0_9_7a, OpenSSL_0_9_7, OpenSSL_0_9_7-beta6, STATE_after_zlib, STATE_before_zlib, OpenSSL_0_9_7-beta5, OpenSSL-engine-0_9_6h, OpenSSL_0_9_6h
# 4579924b 28-Nov-2002 Richard Levitte

Cleanse memory using the new OPENSSL_cleanse() function.
I've covered all the memset()s I felt safe modifying, but may have missed some.


Revision tags: OpenSSL_0_9_7-beta4
# 54a656ef 13-Nov-2002 Ben Laurie

Security fixes brought forward from 0.9.7.


Revision tags: OpenSSL-engine-0_9_6g, OpenSSL_0_9_6g, OpenSSL-engine-0_9_6f, OpenSSL_0_9_6f, OpenSSL_0_9_7-beta3, OpenSSL-engine-0_9_6e, OpenSSL_0_9_6e, OpenSSL_0_9_7-beta2, OpenSSL_0_9_7-beta1, AFTER_COMPAQ_PATCH, BEFORE_COMPAQ_PATCH, OpenSSL-engine-0_9_6d, OpenSSL_0_9_6d, OpenSSL-engine-0_9_6d-beta1, OpenSSL_0_9_6d-beta1, OpenSSL-engine-0_9_6c, OpenSSL_0_9_6c, OpenSSL-engine-0_9_6b, OpenSSL_0_9_6b
# f0b54fef 03-May-2001 Richard Levitte

Some platforms (most notably Windows) do not have a $HOME by default.
For those, unless the environment variables RANDFILE or HOME are
defined (the default case!), RAND_file_name() will retur

Some platforms (most notably Windows) do not have a $HOME by default.
For those, unless the environment variables RANDFILE or HOME are
defined (the default case!), RAND_file_name() will return NULL.
This change adds a default HOME for those platforms.

To add a default HOME for any platform, just define DEFAULT_HOME in
the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.

show more ...


Revision tags: OpenSSL_0_9_6a, OpenSSL-engine-0_9_6a, OpenSSL-engine-0_9_6a-beta3, OpenSSL_0_9_6a-beta3, OpenSSL-engine-0_9_6a-beta2, OpenSSL_0_9_6a-beta2, OpenSSL-engine-0_9_6a-beta1, OpenSSL_0_9_6a-beta1
# a2cf08cc 22-Feb-2001 Bodo Möller

undo previous change: "e_os.h" is now the official name for the file
to include (but the OpenSSL_0_9_6-stable branche still has
inconsistencies)


# d3a73875 22-Feb-2001 Bodo Möller

include e_os.h as "openssl/e_os.h" (as elsewhere)


# 627774fd 22-Feb-2001 Richard Levitte

Since RAND_file_name() uses strlen, make sure the number that's
compared to it has the type size_t. Included the needed headers to
make that happen.


# 4981372d 20-Feb-2001 Richard Levitte

Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
get a chance to be defined.


# bc36ee62 20-Feb-2001 Richard Levitte

Use new-style system-id macros everywhere possible. I hope I haven't
missed any.

This compiles and runs on Linux, and external applications have no
problems with it. The definite t

Use new-style system-id macros everywhere possible. I hope I haven't
missed any.

This compiles and runs on Linux, and external applications have no
problems with it. The definite test will be to build this on VMS.

show more ...


# 36fafffa 14-Feb-2001 Ulf Möller

New function OPENSSL_issetugid(). Needs more work.


# a71b5abf 08-Feb-2001 Ulf Möller

use <= instead of ==


# 928cc3a6 08-Feb-2001 Ulf Möller

point out that RAND_load_file() etc are only for seed files, not for
entropy devices or sockets.


Revision tags: rsaref, BEFORE_engine, OpenSSL_0_9_6-beta2, OpenSSL_0_9_6-beta1, OpenSSL_0_9_6, OpenSSL-engine-0_9_6, OpenSSL-engine-0_9_6-beta3, OpenSSL_0_9_6-beta3, OpenSSL-engine-0_9_6-beta2
# 74d2b0f1 11-Sep-2000 Richard Levitte

Don't include e_os.h before the system headers


Revision tags: OpenSSL-engine-0_9_6-beta1
# 4ee1eb7b 16-Jun-2000 Bodo Möller

There are compilers that complain if a variable has the same name as a
label. (Reported by Alexei Bakharevski.)


# 26a3a48d 01-Jun-2000 Richard Levitte

There have been a number of complaints from a number of sources that names
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other pac

There have been a number of complaints from a number of sources that names
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other packages. That is reason enough to change
the names of the OpenSSL memory allocation macros to something that has a
better chance of being unique, like prepending them with OPENSSL_.

This change includes all the name changes needed throughout all C files.

show more ...


Revision tags: OpenSSL_0_9_5
# 50e4e928 11-May-2000 Bodo Möller

When open()ing 'file' in RAND_write_file, don't use O_EXCL.
This is superfluous now that we don't have to avoid creating
multiple versions of the file on VMS (because older versions
are n

When open()ing 'file' in RAND_write_file, don't use O_EXCL.
This is superfluous now that we don't have to avoid creating
multiple versions of the file on VMS (because older versions
are now deleted).

show more ...


Revision tags: OpenSSL_0_9_5a, OpenSSL_0_9_5a-beta2, OpenSSL_0_9_5a-beta1
# a6aa71ff 19-Mar-2000 Ulf Möller

Bug fix: RAND_write_file() failed to write to files created by open()
on Win32.


# 87b89b79 19-Mar-2000 Richard Levitte

Make sure an error condition is returned if, for some reason, the file
couldn't be opened.


# bf8479d2 11-Mar-2000 Bodo Möller

Workaround for Windoze weirdness.


Revision tags: OpenSSL_0_9_5beta2
# 668ba7d6 26-Feb-2000 Richard Levitte

ftruncate() and fileno() are not supported on all versions of OpenVMS
(they don't really exist before version 7), so that solution was toast.
Instead, let's do it the way it's done on Unix, b

ftruncate() and fileno() are not supported on all versions of OpenVMS
(they don't really exist before version 7), so that solution was toast.
Instead, let's do it the way it's done on Unix, but then remove older
versions of the file.

That new mechanism *may* fail for some unixly formated file spec,
although I wouldn't worry too much about it.

show more ...


# 3e0f27f3 25-Feb-2000 Richard Levitte

Changes to synchronise with Unix.
(actually, much more is needed, like a real config script)


Revision tags: OpenSSL_0_9_5beta1
# 9d1a01be 30-Jan-2000 Ulf Möller

Source code cleanups: Use void * rather than char * in lhash,
eliminate some of the -Wcast-qual warnings (debug-ben-strict target)


# 05ccd698 24-Jan-2000 Bodo Möller

RAND_load_file(..., -1) now means "read the complete file";
this is what we now use to read $RANDFILE / $HOME/.rnd.
(Previously, after 'cat'ting lots of stuff into .rnd
only the first MB

RAND_load_file(..., -1) now means "read the complete file";
this is what we now use to read $RANDFILE / $HOME/.rnd.
(Previously, after 'cat'ting lots of stuff into .rnd
only the first MB would be looked at.)

Bugfix for apps/enc.c: Continue if RAND_pseudo_bytes returns 0
(only -1 is an error).

show more ...


# ce052b6c 23-Jan-2000 Bodo Möller

Under VMS, ftruncate should be available


# e84c2d26 23-Jan-2000 Bodo Möller

As ftruncate is not availabe on all platforms, switch back to
opening the output file with "wb" to truncate it except on VMS
(where the file now keeps its original length because it is opened

As ftruncate is not availabe on all platforms, switch back to
opening the output file with "wb" to truncate it except on VMS
(where the file now keeps its original length because it is opened
with "rb+" -- does VMS have ftruncate?)

show more ...


# 60b52453 21-Jan-2000 Ulf Möller

Document RAND library.


12345