Ensure that -DOPENSSL_CPUID_OBJ is passed when compiling AES EVP bits

This way CPUs that support AES-NI actually get detected properly ;_;

(... just one part of the puzzle)
This commit is contained in:
nia 2020-05-09 12:20:50 +00:00
parent d6eec10312
commit bd2e44e0b4
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: evp.inc,v 1.8 2018/09/23 13:33:04 christos Exp $
# $NetBSD: evp.inc,v 1.9 2020/05/09 12:20:50 nia Exp $
#
# @(#) Copyright (c) 1995 Simon J. Gerraty
#
@ -85,6 +85,7 @@ EVP_AES_SRCS = e_aes.c
.for cryptosrc in ${EVP_AES_SRCS}
CPPFLAGS.${cryptosrc} += ${AESCPPFLAGS}
CPPFLAGS.${cryptosrc} += ${CRYPTOCPPFLAGS}
.endfor
CPPFLAGS.e_aes.c += -I${OPENSSLSRC}/crypto/modes