diff options
author | lloyd <[email protected]> | 2009-11-18 08:54:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-18 08:54:45 +0000 |
commit | 7a62a8c05ddf02073108f4117a80065d2d8ae7ec (patch) | |
tree | 2d53d3010e2f36951db035d2fe8bb3b8f4a1c6ff /src/asn1/der_enc.cpp | |
parent | 6e45f118d112ee55b980a262b8b9ec67e66e9268 (diff) |
Remove to_string, replacing with std::to_string
Convert to_u32bit to use the new C++0x library func stoul instead of
hand-written code.
Diffstat (limited to 'src/asn1/der_enc.cpp')
-rw-r--r-- | src/asn1/der_enc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/der_enc.cpp b/src/asn1/der_enc.cpp index bee269431..1863e400d 100644 --- a/src/asn1/der_enc.cpp +++ b/src/asn1/der_enc.cpp @@ -24,7 +24,7 @@ SecureVector<byte> encode_tag(ASN1_Tag type_tag, ASN1_Tag class_tag) { if((class_tag | 0xE0) != 0xE0) throw Encoding_Error("DER_Encoder: Invalid class tag " + - to_string(class_tag)); + std::to_string(class_tag)); SecureVector<byte> encoded_tag; if(type_tag <= 30) |