Hi,

After a bit of a hiatus I'm going through and making sure
that HEAD builds on Debian. One problem that I have come up against
is that gnutls_transport_ptr_t doesn't seem to exist on my system.
And thus as of the follwing commit (21st Dec), the tree
no longer builds.

http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/lib/mgmt/mgmt_tls_lib.c?r1=1.3&r2=1.4

gnutls_transport_ptr does exist on my system, but I'm not sure
about others.

-- 
Horms


Index: lib/mgmt/mgmt_tls_lib.c
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/mgmt/mgmt_tls_lib.c,v
retrieving revision 1.4
diff -u -r1.4 mgmt_tls_lib.c
--- a/lib/mgmt/mgmt_tls_lib.c   21 Dec 2005 08:18:01 -0000      1.4
+++ b/lib/mgmt/mgmt_tls_lib.c   27 Dec 2005 06:32:22 -0000
@@ -61,7 +61,7 @@
        gnutls_set_default_priority(*session);
        gnutls_kx_set_priority (*session, kx_prio);
        gnutls_credentials_set(*session, GNUTLS_CRD_ANON, anoncred_client);
-       gnutls_transport_set_ptr(*session, (gnutls_transport_ptr_t) 
GINT_TO_POINTER(sock));
+       gnutls_transport_set_ptr(*session, (gnutls_transport_ptr) 
GINT_TO_POINTER(sock));
        ret = gnutls_handshake(*session);
        if (ret < 0) {
                fprintf(stderr, "*** Handshake failed\n");
@@ -135,7 +135,7 @@
        gnutls_kx_set_priority (*session, kx_prio);
        gnutls_credentials_set(*session, GNUTLS_CRD_ANON, anoncred_server);
        gnutls_dh_set_prime_bits(*session, DH_BITS);
-       gnutls_transport_set_ptr(*session, (gnutls_transport_ptr_t) 
GINT_TO_POINTER(sock));
+       gnutls_transport_set_ptr(*session, (gnutls_transport_ptr) 
GINT_TO_POINTER(sock));
        ret = gnutls_handshake(*session);
        if (ret < 0) {
                fprintf(stderr, "*** Handshake has failed (%s)\n\n",
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to