From ed8277a2f6a094b21b399e6d727fd3998ae84e16 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 26 Feb 2017 17:27:28 +0100 Subject: [PATCH] Use a single way for stream_salsa20_ref conditional inclusion --- src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c b/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c index 008d8daf..aa00c8d5 100644 --- a/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c +++ b/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c @@ -10,7 +10,7 @@ Public domain. #include "crypto_stream_salsa20.h" #include "utils.h" -#ifndef HAVE_AMD64_ASM +#if !(defined(HAVE_EMMINTRIN_H) && defined(__x86_64__)) static int stream_ref(unsigned char *c, unsigned long long clen,