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

Unified Diff: crypto/capi_util.cc

Issue 9358080: Properly parse UTF8Strings in certificates on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update gyp for linux Created 8 years, 10 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 | « crypto/capi_util.h ('k') | crypto/signature_verifier_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/capi_util.cc
diff --git a/crypto/capi_util.cc b/crypto/capi_util.cc
index 7593f393dc293140854ce2b632581a5bdaba03c5..2cf10625ec34fc09f66a0b8964c478e9cd50e5ea 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
« no previous file with comments | « crypto/capi_util.h ('k') | crypto/signature_verifier_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698