diff options
author | Richard Levitte <levitte@openssl.org> | 2015-06-23 01:55:46 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-06-23 02:59:47 +0200 |
commit | ed45f3c24212f612a3d029760fa5fa7dc0907074 (patch) | |
tree | fc19281918beef78ebbd929322b4a82524e4af9b /crypto/bn/bn_exp.c | |
parent | cc3f3fc2b1c94d65824ab8d69595b6d89b17cf8d (diff) |
Rearrange rsaz
A small rearrangement so the inclusion of rsaz_exp.h would be
unconditional, but what that header defines becomes conditional.
This solves the weirdness where rsaz_exp.h gets in and out of the
dependency list for bn_exp.c, depending on the present architecture.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn/bn_exp.c')
-rw-r--r-- | crypto/bn/bn_exp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/crypto/bn/bn_exp.c b/crypto/bn/bn_exp.c index 6ce6f8d168..10dc3eb358 100644 --- a/crypto/bn/bn_exp.c +++ b/crypto/bn/bn_exp.c @@ -126,13 +126,7 @@ # include <alloca.h> #endif -#undef RSAZ_ENABLED -#if defined(OPENSSL_BN_ASM_MONT) && \ - (defined(__x86_64) || defined(__x86_64__) || \ - defined(_M_AMD64) || defined(_M_X64)) -# include "rsaz_exp.h" -# define RSAZ_ENABLED -#endif +#include "rsaz_exp.h" #undef SPARC_T4_MONT #if defined(OPENSSL_BN_ASM_MONT) && (defined(__sparc__) || defined(__sparc)) |