Skip to content

Commit 29b8a85

Browse files
committed
TEMP: inject a hash failure to prove the nightly files an issue on its own
1 parent 2d51581 commit 29b8a85

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

hash/sha256-hash.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ int main(int argc, char** argv)
9898
if (ret == 0) {
9999
ret = wc_Sha256Final(&sha256, hash);
100100
}
101+
/* CI-TEST-INJECTION: deliberate failure to prove the nightly files an issue
102+
* autonomously. REVERT THIS HUNK. */
103+
ret = WC_NO_ERR_TRACE(BAD_FUNC_ARG);
101104
if (ret != 0) {
102105
printf("ERROR: Hash operation failed");
103106
}

0 commit comments

Comments
 (0)