Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve robustness of DER recoding code
Add some defensive programming on top of dashpay#5634. This copies the respective OpenSSL code in ECDSA_verify in OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89) more closely. As reported by @SergioDemianLerner.
- Loading branch information