summaryrefslogtreecommitdiff
path: root/lib/pkcs11_secret.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/pkcs11_secret.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/pkcs11_secret.c')
-rw-r--r--lib/pkcs11_secret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pkcs11_secret.c b/lib/pkcs11_secret.c
index 3cfb1e161b..3b8a80c0ab 100644
--- a/lib/pkcs11_secret.c
+++ b/lib/pkcs11_secret.c
@@ -69,7 +69,7 @@ gnutls_pkcs11_copy_secret_key (const char *token_url, gnutls_datum_t * key,
}
/* generate a unique ID */
- ret = _gnutls_rnd (GNUTLS_RND_NONCE, id, sizeof (id));
+ ret = gnutls_rnd (GNUTLS_RND_NONCE, id, sizeof (id));
if (ret < 0)
{
gnutls_assert ();