diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-09 21:17:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-09 21:17:57 +0000 |
commit | 0710f3c93cb530bb52274e501002c2a3c6254080 (patch) | |
tree | 56e08e1fb8fe408ee228230ba37fc48525498f60 /src/util.h | |
parent | 2e6ede7291931e9ef53debca53dfe83986836ee2 (diff) | |
download | rspamd-0710f3c93cb530bb52274e501002c2a3c6254080.tar.gz rspamd-0710f3c93cb530bb52274e501002c2a3c6254080.zip |
Move PRNG seeding function to the util set.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/util.h b/src/util.h index f2b7132af..4edf5cb95 100644 --- a/src/util.h +++ b/src/util.h @@ -440,16 +440,8 @@ time_t parse_http_date (const gchar *header, gsize len); gint rspamd_read_passphrase (gchar *buf, gint size, gint rwflag, gpointer key); /** - * Expand path that may contain configuration variables: - * $CONFDIR - configuration directory - * $RUNDIR - local states directory - * $DBDIR - databases dir - * $LOGDIR - logs dir - * $PLUGINSDIR - plugins dir - * $PREFIX - installation prefix - * $VERSION - rspamd version - * @param pool to use - * @param path path to expand + * Seed glib prng using openssl if possible */ +void rspamd_prng_seed (void); #endif |