diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-11-04 08:58:43 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-11-04 09:26:45 +0100 |
| commit | 73b82a30892224b17aa1b9db9b6de4eeeb903b7f (patch) | |
| tree | 0416c14ba1e546a85abc8ab71320bd3f6e5a62c7 /src/script/interpreter.cpp | |
| parent | Merge pull request #3727 (diff) | |
| parent | boost: moveonly: split CPubKey and friends to new files (diff) | |
| download | discoin-73b82a30892224b17aa1b9db9b6de4eeeb903b7f.tar.xz discoin-73b82a30892224b17aa1b9db9b6de4eeeb903b7f.zip | |
Merge pull request #5162
d2e74c5 boost: moveonly: split CPubKey and friends to new files (Cory Fields)
78c228c boost: moveonly: move BIP32Hash to hash.h (Cory Fields)
900078a boost: moveonly: create eccryptoverify.h|cpp and move helper functions there (Cory Fields)
Diffstat (limited to 'src/script/interpreter.cpp')
| -rw-r--r-- | src/script/interpreter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index 3625972eb..54c2847f7 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -9,7 +9,8 @@ #include "crypto/ripemd160.h" #include "crypto/sha1.h" #include "crypto/sha2.h" -#include "key.h" +#include "eccryptoverify.h" +#include "pubkey.h" #include "script/script.h" #include "uint256.h" #include "util.h" @@ -122,7 +123,7 @@ bool static IsLowDERSignature(const valtype &vchSig) { // If the S value is above the order of the curve divided by two, its // complement modulo the order could have been used instead, which is // one byte shorter when encoded correctly. - if (!CKey::CheckSignatureElement(S, nLenS, true)) + if (!eccrypto::CheckSignatureElement(S, nLenS, true)) return error("Non-canonical signature: S value is unnecessarily high"); return true; |