Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: base/crypto/symmetric_key.h

Issue 4691003: Implement symmetric key for openssl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed a file Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/crypto/symmetric_key.h
diff --git a/base/crypto/symmetric_key.h b/base/crypto/symmetric_key.h
index 3f2be76390c7188a5ec446dd1a79aa95b575f1ab..5958ec0f7ecb2a30872ff1b15c8fe093e2451e09 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|.
+ explicit SymmetricKey(std::string* key);
+ std::string key_;
#elif defined(USE_NSS)
explicit SymmetricKey(PK11SymKey* key);
ScopedPK11SymKey key_;
« no previous file with comments | « base/base.gypi ('k') | base/crypto/symmetric_key_openssl.cc » ('j') | base/openssl_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698