diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/crypto/rsa_private_key.cc | 5 | ||||
-rw-r--r-- | base/crypto/rsa_private_key.h | 4 | ||||
-rw-r--r-- | base/vlog.cc | 2 | ||||
-rw-r--r-- | base/vlog.h | 1 |
4 files changed, 11 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|. diff --git a/base/vlog.cc b/base/vlog.cc index d6c3eb7..6075b0b 100644 --- a/base/vlog.cc +++ b/base/vlog.cc @@ -39,6 +39,8 @@ VlogInfo::VlogInfo(const std::string& v_switch, } } +VlogInfo::~VlogInfo() {} + int VlogInfo::GetVlogLevel(const base::StringPiece& file) { if (!vmodule_levels_.empty()) { base::StringPiece module(file); diff --git a/base/vlog.h b/base/vlog.h index faa62ec..d4cffe4 100644 --- a/base/vlog.h +++ b/base/vlog.h @@ -30,6 +30,7 @@ class VlogInfo { // are also disregarded for this matching). VlogInfo(const std::string& v_switch, const std::string& vmodule_switch); + ~VlogInfo(); // Returns the vlog level for a given file (usually taken from // __FILE__). |