summaryrefslogtreecommitdiff
path: root/crypto/des
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-07-07 17:47:06 +0200
committerTomas Mraz <tomas@openssl.org>2021-07-15 09:33:04 +0200
commit52f7e44ec88a4d803dc9783cd7c71f87014ae3ee (patch)
treeb49310dc3808ba0e9130e6c148ae85d3479a9856 /crypto/des
parent8e94c51b3279f7faae9161df5112414f915cd9f3 (diff)
downloadopenssl-new-52f7e44ec88a4d803dc9783cd7c71f87014ae3ee.tar.gz
Split bignum code out of the sparcv9cap.c
Fixes #15978 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16019)
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/asm/dest4-sparcv9.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/des/asm/dest4-sparcv9.pl b/crypto/des/asm/dest4-sparcv9.pl
index eec9716074..09298583e4 100644
--- a/crypto/des/asm/dest4-sparcv9.pl
+++ b/crypto/des/asm/dest4-sparcv9.pl
@@ -37,7 +37,10 @@ require "sparcv9_modes.pl";
$output=pop and open STDOUT,">$output";
$code.=<<___;
-#include "sparc_arch.h"
+#ifndef __ASSEMBLER__
+# define __ASSEMBLER__ 1
+#endif
+#include "crypto/sparc_arch.h"
#ifdef __arch64__
.register %g2,#scratch