svn commit: r285366 - in head: lib/libmd sys/crypto/sha2
John-Mark Gurney
jmg at funkthat.com
Sun Jul 12 05:47:05 UTC 2015
Andrew Turner wrote this message on Sat, Jul 11, 2015 at 18:06 +0100:
> On Sat, 11 Jul 2015 07:29:20 -0700
> John-Mark Gurney <jmg at funkthat.com> wrote:
> ...
> > The closest I can see is that sha256hl.c (from mdXhl.c) is including
> > "sha256.h" with double quotes, and getting the wrong header file..
>
> I concur, the following fixes libmd to use the correct header.
Andrew, thanks for the fix and thanks Craig for the commit... I owe
all of you a beer (or a drink of your choice)...
> Index: lib/libmd/Makefile
> ===================================================================
> --- lib/libmd/Makefile (revision 285383)
> +++ lib/libmd/Makefile (working copy)
> @@ -49,6 +49,7 @@
> # * macros are used to rename symbols to libcrypt internal names
> # * no weak aliases are generated
> CFLAGS+= -I${.CURDIR} -DWEAK_REFS
> +CFLAGS+= -I${.CURDIR}/../../sys/crypto/sha2
> .PATH: ${.CURDIR}/${MACHINE_ARCH} ${.CURDIR}/../../sys/crypto/sha2
>
> .if exists(${MACHINE_ARCH}/sha.S)
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the svn-src-head
mailing list