diff options
Diffstat (limited to 'src/pk_filts.cpp')
-rw-r--r-- | src/pk_filts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pk_filts.cpp b/src/pk_filts.cpp index d7d09d9a0..93ccea337 100644 --- a/src/pk_filts.cpp +++ b/src/pk_filts.cpp @@ -12,7 +12,7 @@ namespace Botan { *************************************************/ void PK_Encryptor_Filter::write(const byte input[], u32bit length) { - buffer.push_back(input, length); + buffer.append(input, length); } /************************************************* @@ -29,7 +29,7 @@ void PK_Encryptor_Filter::end_msg() *************************************************/ void PK_Decryptor_Filter::write(const byte input[], u32bit length) { - buffer.push_back(input, length); + buffer.append(input, length); } /************************************************* |