summaryrefslogtreecommitdiffstats
path: root/components/ownership/owner_key_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/ownership/owner_key_util.cc')
-rw-r--r--components/ownership/owner_key_util.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/ownership/owner_key_util.cc b/components/ownership/owner_key_util.cc
index eb2cb62..a049729 100644
--- a/components/ownership/owner_key_util.cc
+++ b/components/ownership/owner_key_util.cc
@@ -4,8 +4,6 @@
#include "components/ownership/owner_key_util.h"
-#include "crypto/rsa_private_key.h"
-
namespace ownership {
///////////////////////////////////////////////////////////////////////////
@@ -20,7 +18,7 @@ PublicKey::~PublicKey() {
///////////////////////////////////////////////////////////////////////////
// PrivateKey
-PrivateKey::PrivateKey(crypto::RSAPrivateKey* key) : key_(key) {
+PrivateKey::PrivateKey(crypto::ScopedSECKEYPrivateKey key) : key_(key.Pass()) {
}
PrivateKey::~PrivateKey() {