Skip to content

Commit

Permalink
Update secp256k1 to 0.3.2 (XRPLF#4653)
Browse files Browse the repository at this point in the history
Copy the new code to `src/secp256k1` without changes:
`src/secp256k1` is identical to bitcoin-core/secp256k1@acf5c55 (v0.3.2).

We could consider changing to a Git submodule, though that would require
changes to the build instructions because we are not using submodules
anywhere else.
  • Loading branch information
thejohnfreeman authored and ckeshava committed Sep 22, 2023
1 parent 4e75aab commit de9540c
Show file tree
Hide file tree
Showing 150 changed files with 55,852 additions and 7,187 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ find_package(OpenSSL 1.1.1 REQUIRED)
set_target_properties(OpenSSL::SSL PROPERTIES
INTERFACE_COMPILE_DEFINITIONS OPENSSL_NO_SSL2
)
set(SECP256K1_INSTALL TRUE)
add_subdirectory(src/secp256k1)
add_library(secp256k1::secp256k1 ALIAS secp256k1)
add_subdirectory(src/ed25519-donna)
find_package(lz4 REQUIRED)
# Target names with :: are not allowed in a generator expression.
Expand Down
Loading

0 comments on commit de9540c

Please sign in to comment.