| Index: crypto/capi_util.h
|
| diff --git a/crypto/capi_util.h b/crypto/capi_util.h
|
| index 3aa681e5cb02adeb52946adc8e6595b297721e2c..1786a241beeb5c80dc553baf9451cf168495ff9e 100644
|
| --- a/crypto/capi_util.h
|
| +++ b/crypto/capi_util.h
|
| @@ -29,6 +29,12 @@ CRYPTO_EXPORT BOOL CryptAcquireContextLocked(HCRYPTPROV* prov,
|
| DWORD prov_type,
|
| DWORD flags);
|
|
|
| +// Wrappers of malloc and free for CryptoAPI routines that need memory
|
| +// allocators, such as in CRYPT_DECODE_PARA. Such routines require WINAPI
|
| +// calling conventions.
|
| +CRYPTO_EXPORT void* WINAPI CryptAlloc(size_t size);
|
| +CRYPTO_EXPORT void WINAPI CryptFree(void* p);
|
| +
|
| } // namespace crypto
|
|
|
| #endif // CRYPTO_CAPI_UTIL_H_
|
|
|