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

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: 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
Index: crypto/capi_util.cc
diff --git a/crypto/capi_util.cc b/crypto/capi_util.cc
index 7593f393dc293140854ce2b632581a5bdaba03c5..9039606ffba8ba7ef630618bebaea1205013f2b6 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 CryptAllocFunction(size_t size) {
+ return malloc(size);
+}
+
+void WINAPI CryptFreeFunction(void* p) {
+ free(p);
+}
+
} // namespace crypto

Powered by Google App Engine
This is Rietveld 408576698