Hi,
when saving the random state with RAND_write_file(file) and reloading with
RAND_load_file(file, max_bytes), the length of the random pool written to
"file" is not available as macro, so the max_bytes must be hard coded from
the documented value of "1k".
Proposal:
Add some macro like
#define RAND_POOL_LENGTH 1024
to rand.h.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]