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

Unified Diff: crypto/symmetric_key.h

Issue 8949056: This adds support for encrypted ONC import (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handling decryption errors better Created 8 years, 12 months 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: crypto/symmetric_key.h
diff --git a/crypto/symmetric_key.h b/crypto/symmetric_key.h
index 3c25fab258405c224a35148888dce69fe15a35a9..5074874bbcadf3627432680f470e112055df2cfe 100644
--- a/crypto/symmetric_key.h
+++ b/crypto/symmetric_key.h
@@ -70,7 +70,7 @@ class CRYPTO_EXPORT SymmetricKey {
// Extracts the raw key from the platform specific data.
// Warning: |raw_key| holds the raw key as bytes and thus must be handled
// carefully.
- bool GetRawKey(std::string* raw_key);
+ bool GetRawKey(std::string* raw_key) const;
Ryan Sleevi 2012/01/04 01:33:43 This isn't a const operation on Windows, at least
Greg Spencer (Chromium) 2012/01/05 22:18:03 Crap. OK, I'll change the constness of the argume
#if defined(OS_CHROMEOS)
// Creates symmetric key from NSS key. Takes over the ownership of |key|.
« crypto/hmac.cc ('K') | « crypto/hmac.cc ('k') | crypto/symmetric_key_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698