On Sat, 23 Apr 2011 09:38:39 -0500 Matthew D. Fuller wrote:

 MDF> On Sat, Apr 23, 2011 at 05:52:47AM -0700 I heard the voice of
 MDF> Jeremy Chadwick, and lo! it spake thus:
 >> On Sat, Apr 23, 2011 at 09:04:42AM +0200, Pawel Tyll wrote:
 >> > So was NO_OPENSSL deprecated or something?
 >> 
 >> I think he's implying that hast indirectly relies upon OpenSSL.

 MDF> There's some conditionalization on MK_OPENSSL in the Makefile (and via
 MDF> that, in the code), but it's incomplete.  Whether that means it
 MDF> _should_ be buildable without OpenSSL and is just insufficiently
 MDF> tested, or whether it really just flat needs OpenSSL and the
 MDF> conditionalization is vestigial, I don't know.  pjd@ cc'd.

The attached patch should fix this.

-- 
Mikolaj Golub
Index: sbin/hastd/hast_proto.c
===================================================================
--- sbin/hastd/hast_proto.c	(revision 221054)
+++ sbin/hastd/hast_proto.c	(working copy)
@@ -69,7 +69,9 @@ struct hast_pipe_stage {
 
 static struct hast_pipe_stage pipeline[] = {
 	{ "compression", compression_send, compression_recv },
+#ifdef HAVE_CRYPTO
 	{ "checksum", checksum_send, checksum_recv }
+#endif
 };
 
 /*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to