diff options
author | lloyd <[email protected]> | 2011-02-09 15:13:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-02-09 15:13:28 +0000 |
commit | 75eff6cba7ac959f0d3b5292aa5ca7e321bf2e0d (patch) | |
tree | ad44e3ce741c7d2c83c46a21f0242be4eec33402 /src/asn1/der_enc.cpp | |
parent | 5fa1a353fcdfc5fc83618f07a89b3d320596ae07 (diff) |
Convert the BER/DER coders to use size_t instead of u32bit for small
integer values. Update callers.
Diffstat (limited to 'src/asn1/der_enc.cpp')
-rw-r--r-- | src/asn1/der_enc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asn1/der_enc.cpp b/src/asn1/der_enc.cpp index c6ceaf86d..a14b3c5e2 100644 --- a/src/asn1/der_enc.cpp +++ b/src/asn1/der_enc.cpp @@ -214,7 +214,7 @@ DER_Encoder& DER_Encoder::encode(bool is_true) /* * DER encode a small INTEGER */ -DER_Encoder& DER_Encoder::encode(u32bit n) +DER_Encoder& DER_Encoder::encode(size_t n) { return encode(BigInt(n), INTEGER, UNIVERSAL); } @@ -259,7 +259,7 @@ DER_Encoder& DER_Encoder::encode(bool is_true, /* * DER encode a small INTEGER */ -DER_Encoder& DER_Encoder::encode(u32bit n, +DER_Encoder& DER_Encoder::encode(size_t n, ASN1_Tag type_tag, ASN1_Tag class_tag) { return encode(BigInt(n), type_tag, class_tag); |