summaryrefslogtreecommitdiffstats
path: root/src/crypto/chacha/chacha_vec_arm_generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/chacha/chacha_vec_arm_generate.go')
-rw-r--r--src/crypto/chacha/chacha_vec_arm_generate.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crypto/chacha/chacha_vec_arm_generate.go b/src/crypto/chacha/chacha_vec_arm_generate.go
index 6d167b9..d681e8a 100644
--- a/src/crypto/chacha/chacha_vec_arm_generate.go
+++ b/src/crypto/chacha/chacha_vec_arm_generate.go
@@ -52,8 +52,7 @@ func main() {
output.WriteString(compiler)
output.WriteString(" ")
output.WriteString(strings.Join(args, " "))
- output.WriteString("\n\n#if !defined(OPENSSL_NO_ASM)\n")
- output.WriteString("#if defined(__arm__) || defined(__aarch64__)\n\n")
+ output.WriteString("\n\n#if !defined(OPENSSL_NO_ASM)\n\n")
cmd := exec.Command(compiler, args...)
cmd.Stderr = os.Stderr
@@ -145,6 +144,5 @@ const attr28Block = `
`
const trailer = `
-#endif /* __arm__ || __aarch64__ */
#endif /* !OPENSSL_NO_ASM */
`