aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/bn/rsaz_exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/bn/rsaz_exp.c')
-rwxr-xr-xopenssl/crypto/bn/rsaz_exp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/openssl/crypto/bn/rsaz_exp.c b/openssl/crypto/bn/rsaz_exp.c
index a486b154c..c54c6feb5 100755
--- a/openssl/crypto/bn/rsaz_exp.c
+++ b/openssl/crypto/bn/rsaz_exp.c
@@ -42,6 +42,8 @@
#include "rsaz_exp.h"
+#ifdef RSAZ_ENABLED
+
/*
* See crypto/bn/asm/rsaz-avx2.pl for further details.
*/
@@ -334,3 +336,11 @@ void RSAZ_512_mod_exp(BN_ULONG result[8],
OPENSSL_cleanse(storage, sizeof(storage));
}
+
+#else
+
+# if defined(PEDANTIC) || defined(__DECC) || defined(__clang__)
+static void *dummy = &dummy;
+# endif
+
+#endif