svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

Andrew Turner andrew at fubar.geek.nz
Sat Jul 11 17:06:56 UTC 2015


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

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)


More information about the svn-src-all mailing list