diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 18:59:14 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 18:59:14 +0000 |
commit | fdf3cff0b9c29d8646b1d05cab64c5f38048181c (patch) | |
tree | 60169195526961729ab7da7035e2fcf503d3d742 /base/crypto/rsa_private_key.h | |
parent | 86b1c8261850a20461be441b824b1b27cef63b66 (diff) | |
download | chromium_src-fdf3cff0b9c29d8646b1d05cab64c5f38048181c.zip chromium_src-fdf3cff0b9c29d8646b1d05cab64c5f38048181c.tar.gz chromium_src-fdf3cff0b9c29d8646b1d05cab64c5f38048181c.tar.bz2 |
Revert "Linux (nss) implementations of RSAPrivateKey and SignatureCreator"
This reverts commit 4e0de697be80a0a91fbcceda63d3c85055f1afcc.
TBR=davemoore
Review URL: http://codereview.chromium.org/219013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto/rsa_private_key.h')
-rw-r--r-- | base/crypto/rsa_private_key.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/base/crypto/rsa_private_key.h b/base/crypto/rsa_private_key.h index 3d85ebb..21aa601 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_; |