Commit 9b16ef7f authored by paroga@webkit.org's avatar paroga@webkit.org

2011-02-19 Patrick Gansterer <paroga@webkit.org>

        Reviewed by Andreas Kling.

        Move KeygenWinCE from wince into win directory
        https://bugs.webkit.org/show_bug.cgi?id=54804

        Move this file into the win directory, since it can be used on all windows platforms.

        * CMakeListsWinCE.txt:
        * platform/win/SSLKeyGeneratorWin.cpp: Renamed from platform/wince/KeygenWinCE.cpp.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 72021567
......@@ -52,6 +52,7 @@ LIST(APPEND WebCore_SOURCES
platform/win/PopupMenuWin.cpp
platform/win/PlatformMouseEventWin.cpp
platform/win/PlatformScreenWin.cpp
platform/win/SSLKeyGeneratorWin.cpp
platform/win/ScrollbarThemeWin.cpp
platform/win/SearchPopupMenuWin.cpp
platform/win/SharedBufferWin.cpp
......@@ -66,7 +67,6 @@ LIST(APPEND WebCore_SOURCES
platform/wince/DragDataWince.cpp
platform/wince/DragImageWince.cpp
platform/wince/FileSystemWince.cpp
platform/wince/KeygenWince.cpp
platform/wince/KURLWince.cpp
platform/wince/MIMETypeRegistryWince.cpp
platform/wince/SharedTimerWince.cpp
......
2011-02-19 Patrick Gansterer <paroga@webkit.org>
Reviewed by Andreas Kling.
Move KeygenWinCE from wince into win directory
https://bugs.webkit.org/show_bug.cgi?id=54804
Move this file into the win directory, since it can be used on all windows platforms.
* CMakeListsWinCE.txt:
* platform/win/SSLKeyGeneratorWin.cpp: Renamed from platform/wince/KeygenWinCE.cpp.
2011-02-19 Patrick Gansterer <paroga@webkit.org>
Reviewed by Andreas Kling.
......
......@@ -43,10 +43,10 @@ String WebCore::signedPublicKeyAndChallengeString(unsigned index, const String&
PCERT_PUBLIC_KEY_INFO pPubInfo = 0;
// Try to delete it if it exists already
CryptAcquireContext(&hContext, _T("keygen_container"), MS_ENHANCED_PROV, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
CryptAcquireContextW(&hContext, L"keygen_container", MS_ENHANCED_PROV, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
do {
if (!CryptAcquireContext(&hContext, _T("keygen_container"), MS_ENHANCED_PROV, PROV_RSA_FULL, CRYPT_NEWKEYSET))
if (!CryptAcquireContextW(&hContext, L"keygen_container", MS_ENHANCED_PROV, PROV_RSA_FULL, CRYPT_NEWKEYSET))
break;
DWORD dwPubInfoLength = 0;
......@@ -85,7 +85,7 @@ String WebCore::signedPublicKeyAndChallengeString(unsigned index, const String&
if (pPubInfo)
fastFree(pPubInfo);
if (hKey)
CryptDestroyKey(hKey);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment