Chromium Code Reviews| Index: base/crypto/symmetric_key.h |
| diff --git a/base/crypto/symmetric_key.h b/base/crypto/symmetric_key.h |
| index 3f2be76390c7188a5ec446dd1a79aa95b575f1ab..cc75612cd33d317d49a9ec5476d2a924292cb42b 100644 |
| --- a/base/crypto/symmetric_key.h |
| +++ b/base/crypto/symmetric_key.h |
| @@ -66,8 +66,9 @@ class SymmetricKey { |
| private: |
| #if defined(USE_OPENSSL) |
| - // TODO(joth): Add a constructor that accepts OpenSSL symmetric key data, and |
| - // the appropriate data members to store it in. |
| + // Swaps in the content of the |key|. |
| + SymmetricKey(std::string* key); |
|
Ryan Sleevi
2010/11/10 23:18:46
Ctor should be marked explicit.
joth
2010/11/11 15:07:12
Done.
|
| + std::string key_; |
| #elif defined(USE_NSS) |
| explicit SymmetricKey(PK11SymKey* key); |
| ScopedPK11SymKey key_; |