diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-27 03:50:12 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-27 03:50:12 -0500 |
commit | 6288d943abe9418164da5d5e5dc97e0065e1fa82 (patch) | |
tree | 799328c93617f2fbd97311377a0407609a9b30fc | |
parent | eeea340b17302c3b82d29a7d2f50238cd1b24af4 (diff) |
sha256_4way: patch proper nonce into data block
-rw-r--r-- | sha256_4way.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sha256_4way.c b/sha256_4way.c index 3fe3114..f621136 100644 --- a/sha256_4way.c +++ b/sha256_4way.c @@ -122,6 +122,7 @@ unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate, unsigned char *pdata, for (i = 0; i < 32/4; i++) ((unsigned int*)phash)[i] = thash[i][j]; *nHashesDone = nonce; + *nNonce_p = nonce + j; return nonce + j; } } |