diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-02 08:43:47 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-02 08:44:33 +0100 |
commit | 8e6364e0905875e5f2b0722e01ad1f0ed656f465 (patch) | |
tree | 96dd572e8f89301e622836a21cbf9f20d217d9b6 /lib/random.c | |
parent | b9d2c08d490f0ef3125af4f97ae2a45b8ba8a1f9 (diff) | |
download | gnutls-8e6364e0905875e5f2b0722e01ad1f0ed656f465.tar.gz |
gnutls_rnd: document the available values of level [ci skip]
This enables using the function by only checking the man page.
Diffstat (limited to 'lib/random.c')
-rw-r--r-- | lib/random.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/random.c b/lib/random.c index 977d7aa3ec..ba7333dc85 100644 --- a/lib/random.c +++ b/lib/random.c @@ -124,7 +124,9 @@ void _gnutls_rnd_deinit(void) * @len: The requested size * * This function will generate random data and store it to output - * buffer. + * buffer. The value of @level should be one of %GNUTLS_RND_NONCE, + * %GNUTLS_RND_RANDOM and %GNUTLS_RND_KEY. See the manual and + * %gnutls_rnd_level_t for detailed information. * * This function is thread-safe and also fork-safe. * |