[Pkg-wmaker-commits] [wmbiff] 01/02: probably fix the s390 debian build problems

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:06:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_4_25
in repository wmbiff.

commit c2633fc4a03acb7a86f171d5d0e3e136479eb2d8
Author: bluehal <bluehal>
Date:   Wed Jun 23 21:46:41 2004 +0000

    probably fix the s390 debian build problems
---
 configure.ac     | 3 +++
 wmbiff/tlsComm.c | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1ad36e1..bb634a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,9 @@ dnl AC_CHECK_FUNC(asprintf, , VASPRINTF="vasprintf.c")
 dnl replacing the old USE_POLL define
 AC_CHECK_FUNCS(poll)
 
+dnl for gnutls-common.h, which defines this if missing. 
+AC_CHECK_FUNCS(inet_ntop)
+
 dnl declare RETSIGTYPE
 AC_TYPE_SIGNAL
 
diff --git a/wmbiff/tlsComm.c b/wmbiff/tlsComm.c
index 1010bd3..a05d9d9 100644
--- a/wmbiff/tlsComm.c
+++ b/wmbiff/tlsComm.c
@@ -440,7 +440,7 @@ tls_check_certificate(struct connection_state *scs,
 
 	if (gnutls_x509_crt_check_hostname(cert, remote_hostname) == 0) {
 		char certificate_hostname[256];
-		int buflen = 255;
+		size_t buflen = 255;
 		gnutls_x509_crt_get_dn(cert, certificate_hostname, &buflen);
 		/* gnutls_x509_extract_certificate_dn(&cert_list[0], &dn); */
 		TDM(DEBUG_INFO,
@@ -451,7 +451,7 @@ tls_check_certificate(struct connection_state *scs,
 	} else {
 		if ((scs->pc)->debug >= DEBUG_INFO) {
 			char certificate_hostname[256];
-			int buflen = 255;
+			size_t buflen = 255;
 			gnutls_x509_crt_get_dn(cert, certificate_hostname, &buflen);
 			/* gnutls_x509_extract_certificate_dn(&cert_list[0], &dn); */
 			TDM(DEBUG_INFO,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list