Index: base/crypto/rsa_private_key.h |
=================================================================== |
--- base/crypto/rsa_private_key.h (revision 43354) |
+++ base/crypto/rsa_private_key.h (working copy) |
@@ -23,6 +23,10 @@ |
#include "base/basictypes.h" |
+#if defined(OS_WIN) |
+#include "base/crypto/scoped_capi_types.h" |
+#endif |
+ |
namespace base { |
// Used internally by RSAPrivateKey for serializing and deserializing |
@@ -194,8 +198,8 @@ |
#elif defined(OS_WIN) |
bool InitProvider(); |
- HCRYPTPROV provider_; |
- HCRYPTKEY key_; |
+ ScopedHCRYPTPROV provider_; |
+ ScopedHCRYPTKEY key_; |
#elif defined(OS_MACOSX) |
CSSM_KEY key_; |
#endif |