aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-01-11 11:08:53 +0100
committerWladimir J. van der Laan <[email protected]>2015-01-12 08:59:03 +0100
commitc6b7b29f232c651f898eeffb93f36c8f537c56d2 (patch)
tree23fd890755438012c9a2eb460a022842dcbe7105 /src/script/interpreter.cpp
parentMerge pull request #5634 (diff)
downloaddiscoin-c6b7b29f232c651f898eeffb93f36c8f537c56d2.tar.xz
discoin-c6b7b29f232c651f898eeffb93f36c8f537c56d2.zip
Improve robustness of DER recoding code
Add some defensive programming on top of #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.
Diffstat (limited to 'src/script/interpreter.cpp')
0 files changed, 0 insertions, 0 deletions