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

Unified Diff: crypto/symmetric_key_win.cc

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
« crypto/symmetric_key.h ('K') | « crypto/symmetric_key_openssl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/symmetric_key_win.cc
diff --git a/crypto/symmetric_key_win.cc b/crypto/symmetric_key_win.cc
index d2034e0304c7bc163ef67704aa90a6a851fae261..3a300fc50bc7e39e80d7db26ddfbd25d592cc6fd 100644
--- a/crypto/symmetric_key_win.cc
+++ b/crypto/symmetric_key_win.cc
@@ -495,7 +495,7 @@ SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
raw_key.data(), raw_key.size());
}
-bool SymmetricKey::GetRawKey(std::string* raw_key) {
+bool SymmetricKey::GetRawKey(std::string* raw_key) const {
// Short circuit for when the key was supplied to the constructor.
if (!raw_key_.empty()) {
*raw_key = raw_key_;
« crypto/symmetric_key.h ('K') | « crypto/symmetric_key_openssl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698