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 for now, use the C...



details:   https://anonhg.NetBSD.org/src/rev/923c63a785f0
branches:  trunk
changeset: 753481:923c63a785f0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Mar 30 07:23:51 2010 +0000

description:
for now, use the C versions of bn and des, not the (32 bit) versions,
on powerpc64.

from dennis.c.ferguson%gmail.com@localhost in PR#43073.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/des.inc |  1 +
 crypto/external/bsd/openssl/lib/libcrypto/srcs.inc               |  8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 328f8242998e -r 923c63a785f0 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/des.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/des.inc  Tue Mar 30 07:23:51 2010 +0000
@@ -0,0 +1,1 @@
+.include "${.CURDIR}/des.inc"
diff -r 328f8242998e -r 923c63a785f0 crypto/external/bsd/openssl/lib/libcrypto/srcs.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/srcs.inc        Tue Mar 30 05:54:52 2010 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/srcs.inc        Tue Mar 30 07:23:51 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: srcs.inc,v 1.1 2009/07/19 23:30:44 christos Exp $
+#      $NetBSD: srcs.inc,v 1.2 2010/03/30 07:23:51 mrg Exp $
 
 CRYPTOINCS= \
        aes.inc asn1.inc bf.inc bio.inc bn.inc buffer.inc cast.inc \
@@ -17,7 +17,11 @@
 
 CRYPTOINCS+=   man.inc
 
-CRYPTO_MACHINE_CPU?=   ${MACHINE_CPU}
+.if exists(${.CURDIR}/arch/${MACHINE_ARCH})
+CRYPTO_MACHINE_CPU?=    ${MACHINE_ARCH}
+.else
+CRYPTO_MACHINE_CPU?=    ${MACHINE_CPU}
+.endif
 
 .for cryptoinc in ${CRYPTOINCS}
 .if exists(${.CURDIR}/arch/${CRYPTO_MACHINE_CPU}/${cryptoinc})



Home | Main Index | Thread Index | Old Index