Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2015 18:06:15 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        Craig Rodrigues <rodrigc@crodrigues.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2
Message-ID:  <20150711180615.52a618b7@bender.Home>
In-Reply-To: <20150711142920.GE8523@funkthat.com>
References:  <201507110312.t6B3CZBv081280@repo.freebsd.org> <20150711080439.GD8523@funkthat.com> <CAG=rPVcCSzHKwqyOzAZOG=N9pBMpwFbY%2BCMOM655BanjnNVQ-w@mail.gmail.com> <20150711142920.GE8523@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Jul 2015 07:29:20 -0700
John-Mark Gurney <jmg@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150711180615.52a618b7>