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

Unified Diff: crypto/symmetric_key_openssl.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
Index: crypto/symmetric_key_openssl.cc
diff --git a/crypto/symmetric_key_openssl.cc b/crypto/symmetric_key_openssl.cc
index 899a9421e2fadb8a17fd4fa48fbde52559d072d1..faee94bbeee8082daee1c0940aff5e04e1d57106 100644
--- a/crypto/symmetric_key_openssl.cc
+++ b/crypto/symmetric_key_openssl.cc
@@ -72,7 +72,7 @@ SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
return key.release();
}
-bool SymmetricKey::GetRawKey(std::string* raw_key) {
+bool SymmetricKey::GetRawKey(std::string* raw_key) const {
*raw_key = key_;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698