packages: heartbeat/heartbeat-tls.patch (NEW) - use gnutls_certificate_veri...
mguevara
mguevara at pld-linux.org
Mon Oct 24 23:19:54 CEST 2011
Author: mguevara Date: Mon Oct 24 21:19:54 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- use gnutls_certificate_verify_peers2 instead of the depreciated
gnutls_certificate_verify_peers for quorumd
---- Files affected:
packages/heartbeat:
heartbeat-tls.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/heartbeat/heartbeat-tls.patch
diff -u /dev/null packages/heartbeat/heartbeat-tls.patch:1.1
--- /dev/null Mon Oct 24 23:19:54 2011
+++ packages/heartbeat/heartbeat-tls.patch Mon Oct 24 23:19:49 2011
@@ -0,0 +1,50 @@
+--- Heartbeat-3-0-7e3a82377fa8/lib/plugins/quorum/quorumd.c~ 2011-06-17 12:32:43.000000000 +0200
++++ Heartbeat-3-0-7e3a82377fa8/lib/plugins/quorum/quorumd.c 2011-10-24 23:07:51.000000000 +0200
+@@ -351,11 +351,12 @@
+ verify_certificate (gnutls_session session)
+ {
+ unsigned int cert_list_size;
++ unsigned int * status;
+ const gnutls_datum *cert_list;
+ int ret;
+ gnutls_x509_crt cert;
+
+- ret = gnutls_certificate_verify_peers (session);
++ ret = gnutls_certificate_verify_peersi2 (session,status);
+
+ if (ret < 0)
+ {
+--- Heartbeat-3-0-7e3a82377fa8/membership/quorumd/quorumdtest.c~ 2011-06-17 12:32:43.000000000 +0200
++++ Heartbeat-3-0-7e3a82377fa8/membership/quorumd/quorumdtest.c 2011-10-24 23:06:46.000000000 +0200
+@@ -160,11 +160,12 @@
+ verify_certificate (gnutls_session session)
+ {
+ unsigned int cert_list_size;
++ unsigned int * status;
+ const gnutls_datum *cert_list;
+ int ret;
+ gnutls_x509_crt cert;
+
+- ret = gnutls_certificate_verify_peers (session);
++ ret = gnutls_certificate_verify_peers2 (session,status);
+
+ if (ret < 0)
+ {
+--- Heartbeat-3-0-7e3a82377fa8/membership/quorumd/quorumd.c~ 2011-06-17 12:32:43.000000000 +0200
++++ Heartbeat-3-0-7e3a82377fa8/membership/quorumd/quorumd.c 2011-10-24 23:05:21.000000000 +0200
+@@ -473,13 +473,14 @@
+ verify_certificate (gnutls_session session, char* CN)
+ {
+ unsigned int cert_list_size;
++ unsigned int * status;
+ const gnutls_datum *cert_list;
+ int ret;
+ char dn[MAX_DN_LEN];
+ size_t dn_len = MAX_DN_LEN;
+ gnutls_x509_crt cert;
+
+- ret = gnutls_certificate_verify_peers(session);
++ ret = gnutls_certificate_verify_peers2(session,status);
+
+ if (ret < 0)
+ {
================================================================
More information about the pld-cvs-commit
mailing list