diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-05-29 13:13:12 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-03 19:54:58 +0200 |
commit | 0c6905d7aa6a44757578b71124d0c40a9e36050e (patch) | |
tree | ded5ccf9d096fdd0b8a9d64e86a7a5bd7d68a068 /src/psk.c | |
parent | ffcd96ef593f246b0db7a182a742f05ae4e94063 (diff) | |
download | gnutls-0c6905d7aa6a44757578b71124d0c40a9e36050e.tar.gz |
exported gnutls_rnd().
Diffstat (limited to 'src/psk.c')
-rw-r--r-- | src/psk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |