aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_pad
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk_pad')
-rw-r--r--src/pk_pad/emsa3/emsa3.cpp2
-rw-r--r--src/pk_pad/emsa_raw/emsa_raw.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pk_pad/emsa3/emsa3.cpp b/src/pk_pad/emsa3/emsa3.cpp
index 21ef072ef..0fa9d5429 100644
--- a/src/pk_pad/emsa3/emsa3.cpp
+++ b/src/pk_pad/emsa3/emsa3.cpp
@@ -109,7 +109,7 @@ EMSA3::~EMSA3()
*/
void EMSA3_Raw::update(const byte input[], u32bit length)
{
- message.append(input, length);
+ message += std::make_pair(input, length);
}
/*
diff --git a/src/pk_pad/emsa_raw/emsa_raw.cpp b/src/pk_pad/emsa_raw/emsa_raw.cpp
index 696c6bc5c..4d32ef7a9 100644
--- a/src/pk_pad/emsa_raw/emsa_raw.cpp
+++ b/src/pk_pad/emsa_raw/emsa_raw.cpp
@@ -14,7 +14,7 @@ namespace Botan {
*/
void EMSA_Raw::update(const byte input[], u32bit length)
{
- message.append(input, length);
+ message += std::make_pair(input, length);
}
/*