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 <pt...@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
 };
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to