From cfd2b3fb5144bddc85a458a4108848cc572ca88a Mon Sep 17 00:00:00 2001 From: Mikolaj Golub Date: Tue, 26 Apr 2011 19:52:21 +0000 Subject: [PATCH] Add missing ifdef. This fixes build with NO_OPENSSL. Reported by: Pawel Tyll Approved by: pjd (mentor) MFC after: 1 week --- sbin/hastd/hast_proto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/hastd/hast_proto.c b/sbin/hastd/hast_proto.c index 70175b65c80..89568914f5f 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 }; /*