summaryrefslogtreecommitdiff
path: root/lib/gnutls.h.in.in
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-04 07:47:57 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-04 07:47:57 +0000
commit94b36a2b79c6216cbb502c65f08829be1a5b1989 (patch)
treec3ec781bd94f0218f2c13115bd226671696ee9df /lib/gnutls.h.in.in
parent9a740fdabd18b2b50097023dc72123dcfb8bb28c (diff)
downloadgnutls-94b36a2b79c6216cbb502c65f08829be1a5b1989.tar.gz
* Corrected a bug in 64 bit architectures, which affected the
serial number calculation in the record layer. * Added gnutls_certificate_free_keys() which deletes all the private keys and certificates from the credentials structure.
Diffstat (limited to 'lib/gnutls.h.in.in')
-rw-r--r--lib/gnutls.h.in.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls.h.in.in b/lib/gnutls.h.in.in
index 43ad152d41..f189001741 100644
--- a/lib/gnutls.h.in.in
+++ b/lib/gnutls.h.in.in
@@ -301,6 +301,8 @@ int gnutls_anon_allocate_client_credentials( gnutls_anon_server_credentials *sc)
void gnutls_certificate_free_credentials( gnutls_certificate_credentials sc);
int gnutls_certificate_allocate_credentials( gnutls_certificate_credentials *sc);
+void gnutls_certificate_free_keys(gnutls_certificate_credentials sc);
+
void gnutls_certificate_set_dh_params(gnutls_certificate_credentials res, gnutls_dh_params);
void gnutls_certificate_set_rsa_params(gnutls_certificate_credentials res, gnutls_rsa_params rsa_params);
void gnutls_certificate_set_verify_flags(gnutls_certificate_credentials res, unsigned int flags);