From 8d0f97db9665ee470e040ad876e7f9310e53ddb9 Mon Sep 17 00:00:00 2001 From: miod Date: Sat, 3 May 2014 17:23:55 +0000 Subject: [PATCH] Correctly enable Montgomery code. --- lib/libcrypto/arch/alpha/Makefile.inc | 3 ++- lib/libcrypto/crypto/arch/alpha/Makefile.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/arch/alpha/Makefile.inc b/lib/libcrypto/arch/alpha/Makefile.inc index a13726e8cce..9c9d77ea75a 100644 --- a/lib/libcrypto/arch/alpha/Makefile.inc +++ b/lib/libcrypto/arch/alpha/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2014/05/01 20:42:59 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2014/05/03 17:23:55 miod Exp $ # alpha-specific libcrypto build rules @@ -9,6 +9,7 @@ SRCS+= bf_enc.c # bn SRCS+= bn_asm.c SSLASM+= bn alpha-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT # des SRCS+= des_enc.c fcrypt_b.c # modes diff --git a/lib/libcrypto/crypto/arch/alpha/Makefile.inc b/lib/libcrypto/crypto/arch/alpha/Makefile.inc index a13726e8cce..9c9d77ea75a 100644 --- a/lib/libcrypto/crypto/arch/alpha/Makefile.inc +++ b/lib/libcrypto/crypto/arch/alpha/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2014/05/01 20:42:59 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2014/05/03 17:23:55 miod Exp $ # alpha-specific libcrypto build rules @@ -9,6 +9,7 @@ SRCS+= bf_enc.c # bn SRCS+= bn_asm.c SSLASM+= bn alpha-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT # des SRCS+= des_enc.c fcrypt_b.c # modes -- 2.20.1