summaryrefslogtreecommitdiff
path: root/lib/crypto-api.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-02 04:19:47 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-02 04:22:35 +0200
commit82ad8cac4b23990bef76be1de4e0a1740b59241c (patch)
tree2706de9dc2eb83304c6c1543b565b5e865fe49a7 /lib/crypto-api.c
parent67b80d69ebe910c47f993cb0e6240c3e5115deab (diff)
downloadgnutls-82ad8cac4b23990bef76be1de4e0a1740b59241c.tar.gz
gnutls/crypto.h no longer includes functions to register ciphers.
Thus the following functions - gnutls_crypto_bigint_register - gnutls_crypto_cipher_register - gnutls_crypto_digest_register - gnutls_crypto_mac_register - gnutls_crypto_pk_register - gnutls_crypto_rnd_register - gnutls_crypto_single_cipher_register - gnutls_crypto_single_digest_register - gnutls_crypto_single_mac_register are only available internally via crypto-backend.h.
Diffstat (limited to 'lib/crypto-api.c')
-rw-r--r--lib/crypto-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto-api.c b/lib/crypto-api.c
index 5e3f5c7fdc..bdf95847c3 100644
--- a/lib/crypto-api.c
+++ b/lib/crypto-api.c
@@ -502,7 +502,7 @@ gnutls_key_generate (gnutls_datum_t * key, unsigned int key_size)
return GNUTLS_E_MEMORY_ERROR;
}
- ret = _gnutls_rnd (GNUTLS_RND_RANDOM, key->data, key->size);
+ ret = gnutls_rnd (GNUTLS_RND_RANDOM, key->data, key->size);
if (ret < 0)
{
gnutls_assert ();