diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-07-09 16:30:21 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-07-09 16:30:21 +0200 |
commit | 2b58e029158ac1ada64120ddcea1cb05e864fd69 (patch) | |
tree | 8cf6d4cf36eeee298583b55930731894b1e8da8c /lib/random.h | |
parent | 55d952b96a44665e784774ae591c3fba4f431819 (diff) | |
download | gnutls-2b58e029158ac1ada64120ddcea1cb05e864fd69.tar.gz |
Minor randomness API cleanups.
Diffstat (limited to 'lib/random.h')
-rw-r--r-- | lib/random.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/random.h b/lib/random.h index 02d06f63d2..b91cc96e7b 100644 --- a/lib/random.h +++ b/lib/random.h @@ -6,11 +6,7 @@ extern int crypto_rnd_prio; extern gnutls_crypto_rnd_st _gnutls_rnd_ops; -#define RND_RANDOM GNUTLS_RND_RANDOM -#define RND_NONCE GNUTLS_RND_NONCE -#define RND_KEY GNUTLS_RND_KEY - -int _gnutls_rnd (int level, void *data, int len); +int _gnutls_rnd (int level, void *data, size_t len); void _gnutls_rnd_deinit (void); int _gnutls_rnd_init (void); |