Changeset 153 for trunk/openjdk/jdk/src
- Timestamp:
- Sep 20, 2010, 3:05:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/src/windows/native/sun/security/mscapi/security.cpp
r2 r153 35 35 #include <wincrypt.h> 36 36 #include <stdio.h> 37 37 #ifdef __WIN32OS2__ 38 #include <excpt.h> 39 #endif 38 40 39 41 #define OID_EKU_ANY "2.5.29.37.0" … … 843 845 pwszContainerName = new WCHAR[dwDataLen]; 844 846 845 if (mbstowcs( pwszContainerName, pszContainerName, dwDataLen) == 0) {847 if (mbstowcs((wchar_t*)pwszContainerName, pszContainerName, dwDataLen) == 0) { 846 848 ThrowException(env, KEYSTORE_EXCEPTION, GetLastError()); 847 849 __leave; … … 880 882 pwszProviderName = new WCHAR[dwDataLen]; 881 883 882 if (mbstowcs( pwszProviderName, pszProviderName, dwDataLen) == 0) {884 if (mbstowcs((wchar_t*)pwszProviderName, pszProviderName, dwDataLen) == 0) { 883 885 ThrowException(env, KEYSTORE_EXCEPTION, GetLastError()); 884 886 __leave;
Note:
See TracChangeset
for help on using the changeset viewer.