diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-09 23:56:19 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-16 11:05:08 +0000 |
commit | c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 (patch) | |
tree | bc6f5738bb6a948146cedb612cc12abb3e158fb4 /toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c | |
parent | 7f9f8045cd6f8d92559cdc9f7d297cf92e960e49 (diff) |
Remove tokstyle exemptions from build files.
We put some tokstyle exemptions into the source files themselves,
instead. This way we can check some of the code in those files, and more
in the future when tokstyle supports more constructs (like apidsl).
Also: hacked ping_array.api.h to not emit `_array` as parameter names.
We'll need to fix apidsl to do this better. This works for now.
Diffstat (limited to 'toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c')
-rw-r--r-- | toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c b/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c index e2de3e5f..3aab156f 100644 --- a/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +++ b/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c | |||
@@ -201,7 +201,7 @@ crypto_pwhash_scryptsalsa208sha256_str_verify(const char str[crypto_pwhash_scryp | |||
201 | return -1; | 201 | return -1; |
202 | } | 202 | } |
203 | escrypt_free_local(&escrypt_local); | 203 | escrypt_free_local(&escrypt_local); |
204 | ret = crypto_memcmp(wanted, str, sizeof wanted); | 204 | ret = crypto_memcmp((const uint8_t *) wanted, (const uint8_t *) str, sizeof wanted); |
205 | crypto_memzero(wanted, sizeof wanted); | 205 | crypto_memzero(wanted, sizeof wanted); |
206 | 206 | ||
207 | return ret; | 207 | return ret; |