-
Notifications
You must be signed in to change notification settings - Fork 269
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
update vendored libsecp to 0.3.2 #645
Closed
Closed
Commits on Aug 16, 2023
-
gitignore: remove things that shouldn't be there
upstream libsecp now has a CMakeLists.txt file. Many years ago we added some things to .gitignore which appear to be local developers committing the names of their own stray files, and now this is causing the revendoring script to lose track of vendored files.
Configuration menu - View commit details
-
Copy full SHA for bebc7c0 - Browse repository at this point
Copy the full SHA bebc7c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99d129a - Browse repository at this point
Copy the full SHA 99d129aView commit details -
delete
test_manual_create_destroy
testThis is just a bad test. It constructs a preallocated context object by starting from a non-preallocated context object, in a way that can't be done by users (since it directly constructs a `Secp256k1` struct) and a way that is very difficult to unwind, because you wind up with two pointers to the same underlying context object, one a "preallocated" one and one a normal one. If you then drop the preallocated one, it will call `secp256k1_context_destroy`, forcing you to manually deallocate the other one. If you drop the normally-allocated one, you need to mem::forget the preallocated one to avoid calling `secp256k1_context_destroy` twice. The whole thing is pretty fragile. There is another unit test, `test_raw_ctx`, which gets into the same situation but using the public API, and demonstrates a few ways to get out of it.
Configuration menu - View commit details
-
Copy full SHA for 36339f2 - Browse repository at this point
Copy the full SHA 36339f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1639f25 - Browse repository at this point
Copy the full SHA 1639f25View commit details -
secp256k1-sys: delete .orig files
I'm not sure how these came to be committed, but they shouldn't be. Running the vendoring script results in them being deleted.
Configuration menu - View commit details
-
Copy full SHA for b8f7a16 - Browse repository at this point
Copy the full SHA b8f7a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for b09935d - Browse repository at this point
Copy the full SHA b09935dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac6d106 - Browse repository at this point
Copy the full SHA ac6d106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 186b643 - Browse repository at this point
Copy the full SHA 186b643View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.