summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-07-09 16:30:21 +0200
committerSimon Josefsson <simon@josefsson.org>2008-07-09 16:30:21 +0200
commit2b58e029158ac1ada64120ddcea1cb05e864fd69 (patch)
tree8cf6d4cf36eeee298583b55930731894b1e8da8c /src
parent55d952b96a44665e784774ae591c3fba4f431819 (diff)
downloadgnutls-2b58e029158ac1ada64120ddcea1cb05e864fd69.tar.gz
Minor randomness API cleanups.
Diffstat (limited to 'src')
-rw-r--r--src/psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psk.c b/src/psk.c
index 928ca62f08..ff5f2ee66f 100644
--- a/src/psk.c
+++ b/src/psk.c
@@ -157,7 +157,7 @@ main (int argc, char **argv)
printf ("Generating a random key for user '%s'\n", info.username);
- ret = _gnutls_rnd (RND_RANDOM, (char *) key, info.key_size);
+ ret = _gnutls_rnd (GNUTLS_RND_RANDOM, (char *) key, info.key_size);
if (ret < 0)
{
fprintf (stderr, "Not enough randomness\n");