Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: lib by zhenh from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 29 Dec 2005 00:30:26 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by zhenh from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : zhenh
Host :
Project : linux-ha
Module : lib
Dir : linux-ha/lib/mgmt
Modified Files:
mgmt_tls_lib.c
Log Message:
use the typedef in gnutls1.0 instead of 1.1 so we can use both of them
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/mgmt/mgmt_tls_lib.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- mgmt_tls_lib.c 21 Dec 2005 08:18:01 -0000 1.4
+++ mgmt_tls_lib.c 29 Dec 2005 07:30:25 -0000 1.5
@@ -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-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 25, Issue 74
********************************************