diff options
author | dilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 22:13:24 +0000 |
---|---|---|
committer | dilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 22:13:24 +0000 |
commit | 7286e3fca5309c743061deb6f5593a070f35f592 (patch) | |
tree | b53a3c961955ca59258a91fe8f9e6605b71da511 /crypto/rsa_private_key_openssl.cc | |
parent | f706d901ff9830869f4ef3ebc50ee53282970c35 (diff) | |
download | chromium_src-7286e3fca5309c743061deb6f5593a070f35f592.zip chromium_src-7286e3fca5309c743061deb6f5593a070f35f592.tar.gz chromium_src-7286e3fca5309c743061deb6f5593a070f35f592.tar.bz2 |
some cleanup for base/stl_util
removed unused/irrelevant functions
removed irrelevant comments
Moved stl_util-inl.h => stl_util.h
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7342047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/rsa_private_key_openssl.cc')
-rw-r--r-- | crypto/rsa_private_key_openssl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa_private_key_openssl.cc b/crypto/rsa_private_key_openssl.cc index f39b718..b9902a0 100644 --- a/crypto/rsa_private_key_openssl.cc +++ b/crypto/rsa_private_key_openssl.cc @@ -10,7 +10,6 @@ #include "base/logging.h" #include "base/memory/scoped_ptr.h" -#include "base/stl_util-inl.h" #include "crypto/openssl_util.h" namespace crypto { @@ -41,7 +40,8 @@ bool ExportKey(EVP_PKEY* key, if (!data || len < 0) return false; - STLAssignToVector(output, reinterpret_cast<const uint8*>(data), len); + std::vector<uint8> for_output(data, data + len); + output->swap(for_output); return true; } |