Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/sha2_tests.c:426: test_sha_256: Assertion `memcmp(buf, digest_out, SHA256_DIGEST_LENGTH) == 0' failed #12

Open
joshhansen opened this issue Mar 15, 2024 · 1 comment

Comments

@joshhansen
Copy link

Running make check as per the build instructions, I get this:

./build-aux/test-driver: line 112: 45309 Aborted                 (core dumped) "$@" >> "$log_file" 2>&1
FAIL: tests
============================================================================
Testsuite summary for libbtc 0.1
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/jonasschnelli/libbtc/issues
============================================================================

The contents of test-suite.log:

==================================
   libbtc 0.1: ./test-suite.log
==================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests
===========

tests: test/sha2_tests.c:426: test_sha_256: Assertion `memcmp(buf, digest_out, SHA256_DIGEST_LENGTH) == 0' failed.
FAIL tests (exit status: 134)

I'm compiling on the latest version of Linux Mint.

@joshhansen joshhansen changed the title test/sha2_tests.c:426: test_sha_256: Assertion memcmp(buf, digest_out, SHA256_DIGEST_LENGTH) == 0' failed` test/sha2_tests.c:426: test_sha_256: Assertion \memcmp(buf, digest_out, SHA256_DIGEST_LENGTH) == 0' failed` Mar 15, 2024
@joshhansen joshhansen changed the title test/sha2_tests.c:426: test_sha_256: Assertion \memcmp(buf, digest_out, SHA256_DIGEST_LENGTH) == 0' failed` test/sha2_tests.c:426: test_sha_256: Assertion `memcmp(buf, digest_out, SHA256_DIGEST_LENGTH) == 0' failed Mar 15, 2024
@joshhansen
Copy link
Author

uname -r: 6.5.0-25-generic
GCC version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant