Skip to content

Commit

Permalink
secp256k1-sys: update patchfiles for upcoming libsecp v0.4.0 update
Browse files Browse the repository at this point in the history
Update the `util.h.patch` file in preparation for running the vendor
script. Done by guess work.
  • Loading branch information
tcharding committed Sep 12, 2023
1 parent 186b643 commit 6561dbe
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions secp256k1-sys/depend/util.h.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
134,149d133
147,154d146
< static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_t size) {
< void *ret = malloc(size);
< if (ret == NULL) {
Expand All @@ -7,11 +7,3 @@
< return ret;
< }
<
< static SECP256K1_INLINE void *checked_realloc(const secp256k1_callback* cb, void *ptr, size_t size) {
< void *ret = realloc(ptr, size);
< if (ret == NULL) {
< secp256k1_callback_call(cb, "Out of memory");
< }
< return ret;
< }
<

0 comments on commit 6561dbe

Please sign in to comment.