Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto Ensure that -DOPEN...



details:   https://anonhg.NetBSD.org/src/rev/2b14ed0b5ca7
branches:  trunk
changeset: 971928:2b14ed0b5ca7
user:      nia <nia%NetBSD.org@localhost>
date:      Sat May 09 12:20:50 2020 +0000

description:
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)

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/evp.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 858125f529c4 -r 2b14ed0b5ca7 crypto/external/bsd/openssl/lib/libcrypto/evp.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/evp.inc Sat May 09 09:08:41 2020 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/evp.inc Sat May 09 12:20:50 2020 +0000
@@ -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 @@
 
 .for cryptosrc in ${EVP_AES_SRCS}
 CPPFLAGS.${cryptosrc} += ${AESCPPFLAGS}
+CPPFLAGS.${cryptosrc} += ${CRYPTOCPPFLAGS}
 .endfor
 
 CPPFLAGS.e_aes.c += -I${OPENSSLSRC}/crypto/modes



Home | Main Index | Thread Index | Old Index