Index: base/crypto/signature_creator.h |
diff --git a/base/crypto/signature_creator.h b/base/crypto/signature_creator.h |
index 0b66baa2b16254e4e4a2efc513017e915401d45f..6c7ddbc26d369db3dff8dd187b691d8046712e44 100644 |
--- a/base/crypto/signature_creator.h |
+++ b/base/crypto/signature_creator.h |
@@ -5,11 +5,15 @@ |
#ifndef BASE_CRYPTO_SIGNATURE_CREATOR_H_ |
#define BASE_CRYPTO_SIGNATURE_CREATOR_H_ |
-#if defined(OS_WIN) |
+#include "build/build_config.h" |
+ |
+#if defined(USE_NSS) |
+#include <cryptoht.h> |
+#elif defined(OS_MACOSX) |
+// TODO(port) |
+#elif defined(OS_WIN) |
#include <windows.h> |
#include <wincrypt.h> |
-#else |
-// TODO(PORT) |
#endif |
#include <vector> |
@@ -37,11 +41,15 @@ class SignatureCreator { |
private: |
// Private constructor. Use the Create() method instead. |
- SignatureCreator() {} |
+ SignatureCreator(); |
RSAPrivateKey* key_; |
-#if defined(OS_WIN) |
+#if defined(USE_NSS) |
+ SGNContext* sign_context_; |
+#elif defined(OS_MACOSX) |
+ // TODO(port) |
+#elif defined(OS_WIN) |
HCRYPTHASH hash_object_; |
#endif |