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

Unified Diff: base/crypto/signature_creator.h

Issue 259026: Implement signature_creator_mac (Closed)
Patch Set: cr change Created 11 years, 2 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_mac.cc ('k') | base/crypto/signature_creator_mac.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..97a6e79a1dd8ff5030108183e1db0193df948de7 100644
--- a/base/crypto/signature_creator.h
+++ b/base/crypto/signature_creator.h
@@ -10,7 +10,7 @@
#if defined(USE_NSS)
#include <cryptoht.h>
#elif defined(OS_MACOSX)
-// TODO(port)
+#include <Security/cssm.h>
#elif defined(OS_WIN)
#include <windows.h>
#include <wincrypt.h>
@@ -48,7 +48,8 @@ class SignatureCreator {
#if defined(USE_NSS)
SGNContext* sign_context_;
#elif defined(OS_MACOSX)
- // TODO(port)
+ CSSM_CSP_HANDLE csp_handle_;
+ CSSM_CC_HANDLE sig_handle_;
#elif defined(OS_WIN)
HCRYPTHASH hash_object_;
#endif
« no previous file with comments | « base/crypto/rsa_private_key_mac.cc ('k') | base/crypto/signature_creator_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698