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

fix compile of test/test_ecdsa_deterministic on OS X #101

Open
wants to merge 1 commit into
base: static
Choose a base branch
from

Conversation

mringwal
Copy link

The test uses SHA256 from openssl. This changes adds -lcryto to the ldflags

Error without the fix:
Undefined symbols for architecture x86_64:
"_SHA256_Final", referenced from:
_finish_SHA256 in test_ecdsa_deterministic.o
"_SHA256_Init", referenced from:
_init_SHA256 in test_ecdsa_deterministic.o
"_SHA256_Update", referenced from:
_update_SHA256 in test_ecdsa_deterministic.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@kmackay
Copy link
Owner

kmackay commented May 21, 2017

Hmm, I haven't looked at 'static' branch in a long time. I'd prefer to just rename the test to "test_ecdsa_deterministic.c.example" (like I did in master branch) rather than require linking against OpenSSL.

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

Successfully merging this pull request may close these issues.

2 participants