fix building on android.

This commit is contained in:
gardners 2013-05-07 15:09:22 +09:30
parent d44e678a4e
commit 74245f6f57

View File

@ -60,7 +60,7 @@ int app_nonce_test(const struct cli_parsed *parsed, void *context)
exit(-1);
}
for(j=0;j<i;j++) {
if (!bcmp(&nonces[i][0],&nonces[j][0],32)) {
if (!memcmp(&nonces[i][0],&nonces[j][0],32)) {
printf("Nonce #%d is the same as nonce #%d\n",i,j);
exit(-1);
}