aboutsummaryrefslogtreecommitdiffstats
path: root/src/symkey.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-11-14 18:08:10 +0000
committerlloyd <[email protected]>2007-11-14 18:08:10 +0000
commit167f765128c4aced6c6a9dcf73f16b933910a798 (patch)
tree12f39b1973090d04d77b3303e5b112e3d78eb748 /src/symkey.cpp
parent2de4693562db51f6f0e0b2f3a95e3118c40db05d (diff)
Rename MemoryRegion::append to push_back
Change all callers in the library and self-test code.
Diffstat (limited to 'src/symkey.cpp')
-rw-r--r--src/symkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symkey.cpp b/src/symkey.cpp
index b1f0786b0..9ab8c3ed3 100644
--- a/src/symkey.cpp
+++ b/src/symkey.cpp
@@ -29,7 +29,7 @@ void OctetString::change(const std::string& hex_string)
SecureVector<byte> hex;
for(u32bit j = 0; j != hex_string.length(); ++j)
if(Hex_Decoder::is_valid(hex_string[j]))
- hex.append(hex_string[j]);
+ hex.push_back(hex_string[j]);
if(hex.size() % 2 != 0)
throw Invalid_Argument("OctetString: hex string must encode full bytes");