svn commit: r221078 - head/sbin/hastd

Mikolaj Golub trociny at FreeBSD.org
Tue Apr 26 19:52:21 UTC 2011


Author: trociny
Date: Tue Apr 26 19:52:21 2011
New Revision: 221078
URL: http://svn.freebsd.org/changeset/base/221078

Log:
  Add missing ifdef. This fixes build with NO_OPENSSL.
  
  Reported by:	Pawel Tyll <ptyll at nitronet.pl>
  Approved by:	pjd (mentor)
  MFC after:	1 week

Modified:
  head/sbin/hastd/hast_proto.c

Modified: head/sbin/hastd/hast_proto.c
==============================================================================
--- head/sbin/hastd/hast_proto.c	Tue Apr 26 19:40:37 2011	(r221077)
+++ head/sbin/hastd/hast_proto.c	Tue Apr 26 19:52:21 2011	(r221078)
@@ -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
 };
 
 /*


More information about the svn-src-all mailing list