aboutsummaryrefslogtreecommitdiff
path: root/crypto/camellia
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/camellia
parent8e94c51b3279f7faae9161df5112414f915cd9f3 (diff)
downloadopenssl-52f7e44ec88a4d803dc9783cd7c71f87014ae3ee.zip
openssl-52f7e44ec88a4d803dc9783cd7c71f87014ae3ee.tar.gz
openssl-52f7e44ec88a4d803dc9783cd7c71f87014ae3ee.tar.bz2
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/camellia')
-rw-r--r--crypto/camellia/asm/cmllt4-sparcv9.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/camellia/asm/cmllt4-sparcv9.pl b/crypto/camellia/asm/cmllt4-sparcv9.pl
index cbb626f..3f71e4c 100644
--- a/crypto/camellia/asm/cmllt4-sparcv9.pl
+++ b/crypto/camellia/asm/cmllt4-sparcv9.pl
@@ -66,7 +66,10 @@ $::evp=1; # if $evp is set to 0, script generates module with
my ($inp,$out,$key,$rounds,$tmp,$mask)=map("%o$_",(0..5));
$code=<<___;
-#include "sparc_arch.h"
+#ifndef __ASSEMBLER__
+# define __ASSEMBLER__ 1
+#endif
+#include "crypto/sparc_arch.h"
.text