[gnutls-dev] gnutls_anon_allocate_client_credentials

Ivo Timmermans ivo at o2w.nl
Thu Nov 6 22:55:49 CET 2003


Hi,

The declarations of gnutls_anon_allocate_client_credentials and
gnutls_anon_free_client_credentials have the wrong argument type.  See
attached patch.


	Ivo

-- 
Floating point exception
-------------- next part --------------
--- lib/gnutls.h.in.in.orig	2003-11-06 22:49:53.000000000 +0100
+++ lib/gnutls.h.in.in	2003-11-06 22:54:39.000000000 +0100
@@ -322,8 +322,8 @@
 
 void gnutls_anon_set_server_dh_params( gnutls_anon_server_credentials res, gnutls_dh_params dh_params);
 
-void gnutls_anon_free_client_credentials( gnutls_anon_server_credentials sc);
-int gnutls_anon_allocate_client_credentials( gnutls_anon_server_credentials *sc);
+void gnutls_anon_free_client_credentials( gnutls_anon_client_credentials sc);
+int gnutls_anon_allocate_client_credentials( gnutls_anon_client_credentials *sc);
 
 /* CERTFILE is an x509 certificate in PEM form.
  * KEYFILE is a pkcs-1 private key in PEM form (for RSA keys).


More information about the Gnutls-devel mailing list