09d5d44150
Make libcrypto use the SHA2 implementation of libc. Bump minor versions of libc and libcrypto.
21 lines
467 B
PHP
21 lines
467 B
PHP
# $NetBSD: sha.inc,v 1.10 2009/05/26 08:04:12 joerg Exp $
|
|
#
|
|
# @(#) Copyright (c) 1995 Simon J. Gerraty
|
|
#
|
|
# SRCS extracted from src/crypto/dist/openssl/crypto/sha/Makefile
|
|
#
|
|
|
|
.PATH: ${OPENSSLSRC}/crypto/sha
|
|
|
|
|
|
SHA_SRCS = sha_dgst.c sha1dgst.c sha_one.c sha1_one.c
|
|
|
|
# Replaced OpenSSL version to avoid overlap with libc
|
|
SHA_SRCS+= libc-sha512.c libc-sha256.c
|
|
|
|
SRCS += ${SHA_SRCS}
|
|
|
|
.for cryptosrc in ${SHA_SRCS}
|
|
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/sha
|
|
.endfor
|