Greetings,

Compilation of shishi 0.0.43 fails if running with --disable-starttls.
The problem is that even though lib/starttls.c is not compiled, a
function from that file is still referenced elsewhere.

The patch seems pretty simple (it might well be in the repository
already, but right now I cannot access the git server). So I'll just
send my solution for reference.


Regards,
Johan
--- shishi-0.0.43/lib/netio.c.orig	2010-04-01 23:36:30.000000000 +0200
+++ shishi-0.0.43/lib/netio.c	2010-04-01 23:36:37.000000000 +0200
@@ -241,9 +241,11 @@
 	{
 	  if (transport == TCP)
 	    rc = sendrecv_tcp (handle, ai, indata, inlen, outdata, outlen);
+#ifdef	USE_STARTTLS
 	  else if (transport == TLS)
 	    rc = _shishi_sendrecv_tls (handle, ai, indata, inlen,
 				       outdata, outlen);
+#endif
 	  else
 	    rc = sendrecv_udp (handle, ai, indata, inlen, outdata, outlen);
 

Attachment: pgph9Ni6QgwZ5.pgp
Description: PGP signature

_______________________________________________
Help-shishi mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to