summaryrefslogtreecommitdiff
path: root/lib/x509/pkcs12.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-17 14:10:08 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-04 02:54:06 +0100
commit34d25befa62ceba5af915f25393c5f62093d4591 (patch)
treed668fb3891ec725134cc86a540950b0cda814691 /lib/x509/pkcs12.c
parente4c739fe0b9e568333bf43358fbc3db6b96fe1a1 (diff)
downloadgnutls-34d25befa62ceba5af915f25393c5f62093d4591.tar.gz
deprecated _gnutls_rnd() in favor of exported gnutls_rnd()
Diffstat (limited to 'lib/x509/pkcs12.c')
-rw-r--r--lib/x509/pkcs12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/pkcs12.c b/lib/x509/pkcs12.c
index 9b280ba857..1690be323f 100644
--- a/lib/x509/pkcs12.c
+++ b/lib/x509/pkcs12.c
@@ -881,7 +881,7 @@ int gnutls_pkcs12_generate_mac2(gnutls_pkcs12_t pkcs12, gnutls_mac_algorithm_t m
/* Generate the salt.
*/
- result = _gnutls_rnd(GNUTLS_RND_NONCE, salt, sizeof(salt));
+ result = gnutls_rnd(GNUTLS_RND_NONCE, salt, sizeof(salt));
if (result < 0) {
gnutls_assert();
return result;