Browse Source

fix misplaced #endif

Steffen Jaeckel 7 years ago
parent
commit
b7493253ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/stream/salsa20/xsalsa20_test.c

+ 1 - 1
src/stream/salsa20/xsalsa20_test.c

@@ -80,9 +80,9 @@ int xsalsa20_test(void)
        if ((err = _sha256(hash, keystream, keystreamlen))            != CRYPT_OK)  return err;
        if ((err = _sha256(hash, keystream, keystreamlen))            != CRYPT_OK)  return err;
        if (compare_testvector(hash, sizeof(hash), expecthash, sizeof(expecthash),   "XSALSA20-TV2", 1))  return CRYPT_FAIL_TESTVECTOR;
        if (compare_testvector(hash, sizeof(hash), expecthash, sizeof(expecthash),   "XSALSA20-TV2", 1))  return CRYPT_FAIL_TESTVECTOR;
    }
    }
+#endif
 
 
    return CRYPT_OK;
    return CRYPT_OK;
-#endif
 
 
 #endif
 #endif
 }
 }