On Tue, Apr 26, 2011 at 12:44:31PM +0300, Mikolaj Golub wrote:
> 
> On Sat, 23 Apr 2011 09:38:39 -0500 Matthew D. Fuller wrote:
> 
>  MDF> On Sat, Apr 23, 2011 at 05:52:47AM -0700 I heard the voice of
>  MDF> Jeremy Chadwick, and lo! it spake thus:
>  >> On Sat, Apr 23, 2011 at 09:04:42AM +0200, Pawel Tyll wrote:
>  >> > So was NO_OPENSSL deprecated or something?
>  >> 
>  >> I think he's implying that hast indirectly relies upon OpenSSL.
> 
>  MDF> There's some conditionalization on MK_OPENSSL in the Makefile (and via
>  MDF> that, in the code), but it's incomplete.  Whether that means it
>  MDF> _should_ be buildable without OpenSSL and is just insufficiently
>  MDF> tested, or whether it really just flat needs OpenSSL and the
>  MDF> conditionalization is vestigial, I don't know.  pjd@ cc'd.
> 
> The attached patch should fix this.

The patch looks good. Please commit.

> Index: sbin/hastd/hast_proto.c
> ===================================================================
> --- sbin/hastd/hast_proto.c   (revision 221054)
> +++ sbin/hastd/hast_proto.c   (working copy)
> @@ -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
>  };
>  
>  /*

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com

Attachment: pgp1wBP2gykSP.pgp
Description: PGP signature

Reply via email to