Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 19:52:21 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221078 - head/sbin/hastd
Message-ID:  <201104261952.p3QJqL7N036199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 };
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104261952.p3QJqL7N036199>