Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Fix typo in modify_sha1_ctx_two_digits
Browse files Browse the repository at this point in the history
  • Loading branch information
colonelwatch committed May 26, 2021
1 parent 667c6c9 commit 759a0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mine_DUCO_S1.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void modify_sha1_ctx_two_digits(SHA_CTX *ctx_ptr, int nonce){
nonce/10 + '0',
nonce%10 + '0'
};
SHA1_Update(ctx_ptr, &digits, 2);
SHA1_Update(ctx_ptr, digits, 2);
}

void complete_sha1_hash(unsigned char hash[HASH_SIZE], SHA_CTX *ctx_ptr){
Expand Down

0 comments on commit 759a0ed

Please sign in to comment.