mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
added -Wextra -Werror and fixed everything it had to mecker about
This commit is contained in:
@@ -30,7 +30,7 @@ byte* pcp_scrypt(char *passwd, size_t passwdlen, byte *nonce, size_t noncelen) {
|
||||
uint32_t p = 1;
|
||||
size_t buflen = 64;
|
||||
|
||||
if (crypto_scrypt(passwd, passwdlen, (uint8_t *)nonce, noncelen, N, r, p, dk, buflen) == 0) {
|
||||
if (crypto_scrypt((byte *)passwd, passwdlen, (uint8_t *)nonce, noncelen, N, r, p, dk, buflen) == 0) {
|
||||
return dk;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user