summaryrefslogtreecommitdiff
path: root/lib/gnutls_cert.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-02 07:13:35 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-02 07:13:35 +0000
commit54e8f8fe0a91a8b53a2362ef2bab292ade94fb25 (patch)
treefadbc28920b3e0b2b74332c54110d14148c950d2 /lib/gnutls_cert.c
parente9accc808aad3981ac19712be97e395a399506e7 (diff)
downloadgnutls-54e8f8fe0a91a8b53a2362ef2bab292ade94fb25.tar.gz
Cleanups. Prefixed some internal function with underscore.
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r--lib/gnutls_cert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 44dcdeef42..26248ff514 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2001,2002 Nikos Mavroyanopoulos
+ * Copyright (C) 2001,2002 Nikos Mavroyanopoulos
*
* This file is part of GNUTLS.
*
@@ -50,8 +50,8 @@ void _gnutls_free_cert(gnutls_cert cert)
_gnutls_mpi_release(&cert.params[i]);
}
- gnutls_free_datum(&cert.signature);
- gnutls_free_datum(&cert.raw);
+ _gnutls_free_datum(&cert.signature);
+ _gnutls_free_datum(&cert.raw);
return;
}
@@ -87,7 +87,7 @@ void gnutls_certificate_free_credentials(gnutls_certificate_credentials sc)
}
gnutls_free( sc->x509_ca_list);
- gnutls_free_datum( &sc->keyring);
+ _gnutls_free_datum( &sc->keyring);
for (i = 0; i < sc->ncerts; i++) {
_gnutls_free_private_key(sc->pkey[i]);