summaryrefslogtreecommitdiff
path: root/lib/random.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-27 11:51:05 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-27 11:52:25 +0100
commit6e28ce9dbb230b52836dbce77f7e6a3a21d8eb6e (patch)
treeff7c54a1019f3b3d39d8dee4e478bc920f0a49f0 /lib/random.h
parent4608500222e4b8e3a1c9886465bd0c10c07b5187 (diff)
downloadgnutls-6e28ce9dbb230b52836dbce77f7e6a3a21d8eb6e.tar.gz
Added gnutls_rnd_refresh().
Diffstat (limited to 'lib/random.h')
-rw-r--r--lib/random.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/random.h b/lib/random.h
index 3d24363f2c..3a514f13f4 100644
--- a/lib/random.h
+++ b/lib/random.h
@@ -40,6 +40,12 @@ _gnutls_rnd (gnutls_rnd_level_t level, void *data, size_t len)
return 0;
}
+inline static void
+_gnutls_rnd_refresh (void)
+{
+ _gnutls_rnd_ops.rnd_refresh (gnutls_rnd_ctx);
+}
+
void _gnutls_rnd_deinit (void);
int _gnutls_rnd_init (void);