aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509_ext.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/x509_ext.cpp
parent2de4693562db51f6f0e0b2f3a95e3118c40db05d (diff)
Rename MemoryRegion::append to push_back
Change all callers in the library and self-test code.
Diffstat (limited to 'src/x509_ext.cpp')
-rw-r--r--src/x509_ext.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/x509_ext.cpp b/src/x509_ext.cpp
index 65ea2872c..47e44cc1d 100644
--- a/src/x509_ext.cpp
+++ b/src/x509_ext.cpp
@@ -201,12 +201,12 @@ MemoryVector<byte> Key_Usage::encode_inner() const
const u32bit unused_bits = low_bit(constraints) - 1;
SecureVector<byte> der;
- der.append(BIT_STRING);
- der.append(2 + ((unused_bits < 8) ? 1 : 0));
- der.append(unused_bits % 8);
- der.append((constraints >> 8) & 0xFF);
+ der.push_back(BIT_STRING);
+ der.push_back(2 + ((unused_bits < 8) ? 1 : 0));
+ der.push_back(unused_bits % 8);
+ der.push_back((constraints >> 8) & 0xFF);
if(constraints & 0xFF)
- der.append(constraints & 0xFF);
+ der.push_back(constraints & 0xFF);
return der;
}