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

Unified Diff: base/crypto/rsa_private_key.h

Issue 219013: Revert "Linux (nss) implementations of RSAPrivateKey and SignatureCreator" (Closed)
Patch Set: Created 11 years, 3 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
« no previous file with comments | « base/base.gyp ('k') | base/crypto/rsa_private_key_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/crypto/rsa_private_key.h
diff --git a/base/crypto/rsa_private_key.h b/base/crypto/rsa_private_key.h
index 3d85ebb879883ec24ffbce9a0f1c41ae6b07ccad..21aa601df9ba82d0e7c0b509e33f870f761c76dc 100644
--- a/base/crypto/rsa_private_key.h
+++ b/base/crypto/rsa_private_key.h
@@ -7,14 +7,11 @@
#include "build/build_config.h"
-#if defined(USE_NSS)
-#include <cryptoht.h>
-#include <keythi.h>
-#elif defined(OS_MACOSX)
-// TODO(port);
-#elif defined(OS_WIN)
+#if defined(OS_WIN)
#include <windows.h>
#include <wincrypt.h>
+#else
+// TODO(port)
#endif
#include <vector>
@@ -38,9 +35,7 @@ class RSAPrivateKey {
~RSAPrivateKey();
-#if defined(USE_NSS)
- SECKEYPrivateKey* key() { return key_; }
-#elif defined(OS_WIN)
+#if defined(OS_WIN)
HCRYPTPROV provider() { return provider_; }
HCRYPTKEY key() { return key_; }
#endif
@@ -56,10 +51,7 @@ private:
// instead.
RSAPrivateKey();
-#if defined(USE_NSS)
- SECKEYPrivateKey* key_;
- SECKEYPublicKey* public_key_;
-#elif defined(OS_WIN)
+#if defined(OS_WIN)
bool InitProvider();
HCRYPTPROV provider_;
« no previous file with comments | « base/base.gyp ('k') | base/crypto/rsa_private_key_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698