Commits

Kelvin Wong committed 52f258d Draft

Cast to expected types in crypto_scrypt

Comments (0)

Files changed (1)

         hasherror = 0;
     } else {
         paramerror = 0;
-        hasherror = crypto_scrypt(password, passwordlen,
-                                  salt,     saltlen,
+        hasherror = crypto_scrypt((const uint8_t *) password, passwordlen,
+                                  (const uint8_t *) salt,     saltlen,
                                   N, r, p,
                                   outbuf, outbuflen);
     }