diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 22:03:13 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 22:03:13 +0000 |
commit | 1889dc1b1226cac60273a2e28ad36e019292be21 (patch) | |
tree | 0cc002bbc9b22ef7a2b34a7f114b79463a02c8d7 /base/crypto | |
parent | 19d9f3aa28eb43ba6c7e016536c2ddcba420bb3f (diff) | |
download | chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.zip chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.tar.gz chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.tar.bz2 |
FBTF: More ctor/dtor cleanup.
(3.5 megs off debug linux .a files)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3806005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto')
-rw-r--r-- | base/crypto/rsa_private_key.cc | 5 | ||||
-rw-r--r-- | base/crypto/rsa_private_key.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/base/crypto/rsa_private_key.cc b/base/crypto/rsa_private_key.cc index e8eb2ab..75da7e4 100644 --- a/base/crypto/rsa_private_key.cc +++ b/base/crypto/rsa_private_key.cc @@ -160,6 +160,11 @@ bool PrivateKeyInfoCodec::ReadVersion(uint8** pos, uint8* end) { return true; } +PrivateKeyInfoCodec::PrivateKeyInfoCodec(bool big_endian) + : big_endian_(big_endian) {} + +PrivateKeyInfoCodec::~PrivateKeyInfoCodec() {} + bool PrivateKeyInfoCodec::Export(std::vector<uint8>* output) { std::list<uint8> content; diff --git a/base/crypto/rsa_private_key.h b/base/crypto/rsa_private_key.h index 0349ade..4492c3d 100644 --- a/base/crypto/rsa_private_key.h +++ b/base/crypto/rsa_private_key.h @@ -49,7 +49,9 @@ class PrivateKeyInfoCodec { // that will be parsed & serialized (modulus(), etc...) during Import(), // Export() and ExportPublicKeyInfo() -- not the ASN.1 DER encoding of the // PrivateKeyInfo/PublicKeyInfo (which is always big-endian). - explicit PrivateKeyInfoCodec(bool big_endian) : big_endian_(big_endian) {} + explicit PrivateKeyInfoCodec(bool big_endian); + + ~PrivateKeyInfoCodec(); // Exports the contents of the integer components to the ASN.1 DER encoding // of the PrivateKeyInfo structure to |output|. |