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

Unified Diff: base/crypto/signature_creator.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/crypto/rsa_private_key_nss.cc ('k') | base/crypto/signature_creator_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/crypto/signature_creator.h
diff --git a/base/crypto/signature_creator.h b/base/crypto/signature_creator.h
index 6c7ddbc26d369db3dff8dd187b691d8046712e44..0b66baa2b16254e4e4a2efc513017e915401d45f 100644
--- a/base/crypto/signature_creator.h
+++ b/base/crypto/signature_creator.h
@@ -5,15 +5,11 @@
#ifndef BASE_CRYPTO_SIGNATURE_CREATOR_H_
#define BASE_CRYPTO_SIGNATURE_CREATOR_H_
-#include "build/build_config.h"
-
-#if defined(USE_NSS)
-#include <cryptoht.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>
@@ -41,15 +37,11 @@ class SignatureCreator {
private:
// Private constructor. Use the Create() method instead.
- SignatureCreator();
+ SignatureCreator() {}
RSAPrivateKey* key_;
-#if defined(USE_NSS)
- SGNContext* sign_context_;
-#elif defined(OS_MACOSX)
- // TODO(port)
-#elif defined(OS_WIN)
+#if defined(OS_WIN)
HCRYPTHASH hash_object_;
#endif
« no previous file with comments | « base/crypto/rsa_private_key_nss.cc ('k') | base/crypto/signature_creator_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698