diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 06:01:59 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 06:01:59 +0000 |
commit | 68da887c6a2acc6dac295bf27930eaeba8da0eed (patch) | |
tree | 1f2b6b6c608eeda607386c075107ee7797d3f8f4 /crypto/capi_util.cc | |
parent | a9891b44234b0037a60a280de36f35d584e13cc1 (diff) | |
download | chromium_src-68da887c6a2acc6dac295bf27930eaeba8da0eed.zip chromium_src-68da887c6a2acc6dac295bf27930eaeba8da0eed.tar.gz chromium_src-68da887c6a2acc6dac295bf27930eaeba8da0eed.tar.bz2 |
Properly parse UTF8Strings in certificates on Windows.
BUG=114168
TEST=https://www.verisign.co.jp appears correctly regardless of system
locale. Additionally, net_unittests:X509TypesTest* should cover this.
Review URL: https://chromiumcodereview.appspot.com/9358080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/capi_util.cc')
-rw-r--r-- | crypto/capi_util.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/capi_util.cc b/crypto/capi_util.cc index 7593f39..2cf1062 100644 --- a/crypto/capi_util.cc +++ b/crypto/capi_util.cc @@ -46,4 +46,12 @@ BOOL CryptAcquireContextLocked(HCRYPTPROV* prov, return CryptAcquireContext(prov, container, provider, prov_type, flags); } +void* WINAPI CryptAlloc(size_t size) { + return malloc(size); +} + +void WINAPI CryptFree(void* p) { + free(p); +} + } // namespace crypto |