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 /src | |
parent | 55d952b96a44665e784774ae591c3fba4f431819 (diff) | |
download | gnutls-2b58e029158ac1ada64120ddcea1cb05e864fd69.tar.gz |
Minor randomness API cleanups.
Diffstat (limited to 'src')
-rw-r--r-- | src/psk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |