diff options
author | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
commit | 083f699c30d584ac59453139e4f2e03d1fde0545 (patch) | |
tree | d9cc192ace03a9a0ef1c0e1705d5468ff3eb3489 /src/lib/pubkey | |
parent | af0cc3c7308d0f5320e82394590b0ca93f43c4d4 (diff) |
Fix various warnings from VC++ 2014 and add missing include
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r-- | src/lib/pubkey/dsa/dsa.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/pubkey/dsa/dsa.cpp b/src/lib/pubkey/dsa/dsa.cpp index 5d56d6b89..c66db52f6 100644 --- a/src/lib/pubkey/dsa/dsa.cpp +++ b/src/lib/pubkey/dsa/dsa.cpp @@ -115,8 +115,6 @@ DSA_Verification_Operation::DSA_Verification_Operation(const DSA_PublicKey& dsa) bool DSA_Verification_Operation::verify(const byte msg[], size_t msg_len, const byte sig[], size_t sig_len) { - const BigInt& q = mod_q.get_modulus(); - if(sig_len != 2*q.bytes() || msg_len > q.bytes()) return false; |