Merge rust-bitcoin/rust-secp256k1#431: Make global-context-less-secure actually enable the global context (fixup for #407)
c1bb316675
Make global-context-less-secure actually enable the global context (Elichai Turkel) Pull request description: In #407 we restored the `global-context-less-secure` feature, but it didn't actually do anything because #385 changed all the cfg checks on the whole module to depend on `global-context`, so we need to enable `global-context` in order to make that module compile. so before all this, users could enable *just* `global-context-less-secure` without enabling the `global-context`, and after this PR it will behave the same. (this will not enable the randomization because of:1cf2429b12/src/context.rs (L51)
) ACKs for top commit: apoelstra: ACKc1bb316675
Tree-SHA512: edc7b4916b359a0696cc25f498bc52ad340f981ad6b01b83b68966d6179200bac6acb96f5480157e24c605b5552bdd7b6eb8770bc9a2c5734da3df11c021fb5b
This commit is contained in:
commit
ae985dd191
|
@ -34,7 +34,7 @@ global-context = ["std"]
|
||||||
# (If you are sure the `rand-std` feature will not be enabled, e.g.
|
# (If you are sure the `rand-std` feature will not be enabled, e.g.
|
||||||
# if you are doing a no-std build, then this feature does nothing
|
# if you are doing a no-std build, then this feature does nothing
|
||||||
# and is not necessary.)
|
# and is not necessary.)
|
||||||
global-context-less-secure = []
|
global-context-less-secure = ["global-context"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
secp256k1-sys = { version = "0.5.0", default-features = false, path = "./secp256k1-sys" }
|
secp256k1-sys = { version = "0.5.0", default-features = false, path = "./secp256k1-sys" }
|
||||||
|
|
Loading…
Reference in New Issue