aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/pubkey.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-15 13:44:42 +0000
committerlloyd <[email protected]>2010-09-15 13:44:42 +0000
commit180c5358cb31e9c003cada3705bb30cf01732878 (patch)
tree951038dfaf2c33bcee5e27c4b1d2980eb35494a3 /src/pubkey/pubkey.cpp
parenta9d0f37596e5413cae45f32740738c5c68abcce1 (diff)
Update all uses of MemoryRegion::append to use either push_back or operator+=
Diffstat (limited to 'src/pubkey/pubkey.cpp')
-rw-r--r--src/pubkey/pubkey.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pubkey/pubkey.cpp b/src/pubkey/pubkey.cpp
index dc91ca908..725cdacf7 100644
--- a/src/pubkey/pubkey.cpp
+++ b/src/pubkey/pubkey.cpp
@@ -301,8 +301,7 @@ bool PK_Verifier::check_signature(const byte sig[], u32bit length)
{
BigInt sig_part;
ber_sig.decode(sig_part);
- real_sig.append(BigInt::encode_1363(sig_part,
- op->message_part_size()));
+ real_sig += BigInt::encode_1363(sig_part, op->message_part_size());
++count;
}