From 88f8eb6ad24c88814d411a1a1acb1890b0eddf0a Mon Sep 17 00:00:00 2001 From: subtly Date: Fri, 26 Jun 2015 06:46:49 -0400 Subject: [PATCH 1/3] Prep for supporting both cryptopp and secp256k1. Link (old) secp256k1 library to devcrypto. Rename cryptopp Secp256k1 to Secp256k1PP. Update toPublic to use secp256k1 library and add test. From 1ed7bc1562cc0b4ac02e89fb566c9f0787a06c3c Mon Sep 17 00:00:00 2001 From: subtly Date: Fri, 26 Jun 2015 07:41:42 -0400 Subject: [PATCH 2/3] Don't link secp256k1 on windows. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d39a5cca1..952b1674f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,9 @@ target_link_libraries(testeth ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) target_link_libraries(testeth ${CURL_LIBRARIES}) target_link_libraries(testeth ethereum) target_link_libraries(testeth ethcore) -target_link_libraries(testeth secp256k1) +if (NOT WIN32) + target_link_libraries(testeth secp256k1) +endif() if (JSCONSOLE) target_link_libraries(testeth jsengine) From 3ffde5148b6a43442a66594764e9c460dec83a73 Mon Sep 17 00:00:00 2001 From: subtly Date: Fri, 26 Jun 2015 23:49:52 -0400 Subject: [PATCH 3/3] Disable libsecp256k1-specific tests for windows compile.