diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-03 21:00:22 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-03 21:00:22 -0500 |
commit | 925574028575293e475a74f96e5cff0be117f24a (patch) | |
tree | 419a7535324b95740d1423c4379f6906fc15f08f /validat7.cpp | |
parent | a20c56ea4911ae052cf358b191a1009cbb6c0b45 (diff) | |
download | cryptopp-git-925574028575293e475a74f96e5cff0be117f24a.tar.gz |
Fix self test NEON compile with MSVC compiler (GH #776)
Diffstat (limited to 'validat7.cpp')
-rw-r--r-- | validat7.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/validat7.cpp b/validat7.cpp index b240993f..db9c31ea 100644 --- a/validat7.cpp +++ b/validat7.cpp @@ -404,7 +404,7 @@ bool TestX25519() int ret2 = Donna::curve25519_mult(share2, priv2, pub1);
int ret3 = std::memcmp(share1, share2, 32);
-#if defined(NO_OS_DEPENDENCE)
+#if defined(CRYPTOPP_DISABLE_NACL)
int ret4=0, ret5=0, ret6=0;
#else
// Bernstein's NaCl requires DefaultAutoSeededRNG.
@@ -436,7 +436,7 @@ bool TestEd25519() std::cout << "\nTesting ed25519 Signatures...\n\n";
bool pass = true;
-#ifndef NO_OS_DEPENDENCE
+#ifndef CRYPTOPP_DISABLE_NACL
const unsigned int SIGN_COUNT = 64, MSG_SIZE=128;
const unsigned int NACL_EXTRA=NaCl::crypto_sign_BYTES;
|