diff options
author | Bodo Möller <bodo@openssl.org> | 1999-10-26 01:56:29 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-10-26 01:56:29 +0000 |
commit | a31011e8e0ea18f1cc79d7eb53238768ae9369c6 (patch) | |
tree | da6c9af95c39c6e6c44d2b71ace3bd4495728be1 /apps/apps.h | |
parent | 38899535f85784442395aeab921b25fc79266491 (diff) |
Various randomness handling bugfixes and improvements --
some utilities that should have used RANDFILE did not,
and -rand handling was broken except in genrsa.
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h index 063f9c65be..ce1f0fd9af 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -66,6 +66,16 @@ #include <openssl/crypto.h> #include "progs.h" +int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); +int app_RAND_write_file(const char *file, BIO *bio_e); +/* When `file' is NULL, use defaults. + * `bio_e' is for error messages. */ +void app_RAND_allow_write_file(void); +long app_RAND_load_files(char *file); /* `file' is a list of files to read, + * separated by LIST_SEPARATOR_CHAR + * (see e_os.h). The string is + * destroyed! */ + #ifdef NO_STDIO BIO_METHOD *BIO_s_file(); #endif |