summaryrefslogtreecommitdiff
path: root/src/psk.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-29 13:13:12 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-03 19:54:58 +0200
commit0c6905d7aa6a44757578b71124d0c40a9e36050e (patch)
treeded5ccf9d096fdd0b8a9d64e86a7a5bd7d68a068 /src/psk.c
parentffcd96ef593f246b0db7a182a742f05ae4e94063 (diff)
downloadgnutls-0c6905d7aa6a44757578b71124d0c40a9e36050e.tar.gz
exported gnutls_rnd().
Diffstat (limited to 'src/psk.c')
-rw-r--r--src/psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psk.c b/src/psk.c
index b963eb4072..7e8297922b 100644
--- a/src/psk.c
+++ b/src/psk.c
@@ -152,7 +152,7 @@ main (int argc, char **argv)
printf ("Generating a random key for user '%s'\n", info.username);
- ret = _gnutls_rnd (GNUTLS_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");