summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2011-04-26 19:52:21 +0000
committertrociny <trociny@FreeBSD.org>2011-04-26 19:52:21 +0000
commitc809661e09e3375509da16f0f26ab605249d1351 (patch)
tree6e45607ca6bed7c54b1e6567c2eaeb1e389ce889 /sbin
parent367ad6085180bae746c3d198a10f285cc3ce0755 (diff)
downloadFreeBSD-src-c809661e09e3375509da16f0f26ab605249d1351.zip
FreeBSD-src-c809661e09e3375509da16f0f26ab605249d1351.tar.gz
Add missing ifdef. This fixes build with NO_OPENSSL.
Reported by: Pawel Tyll <ptyll@nitronet.pl> Approved by: pjd (mentor) MFC after: 1 week
Diffstat (limited to 'sbin')
-rw-r--r--sbin/hastd/hast_proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/hastd/hast_proto.c b/sbin/hastd/hast_proto.c
index 70175b6..8956891 100644
--- a/sbin/hastd/hast_proto.c
+++ b/sbin/hastd/hast_proto.c
@@ -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
};
/*
OpenPOWER on IntegriCloud