diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 15:58:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 15:58:40 +0300 |
commit | fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (patch) | |
tree | 8807aea6f2afce38b30ce60aa5ebf84a26992b73 /plugins/CryptoPP/src/cpp_cntx.cpp | |
parent | af2958f2e82cb68392983da6f7f69fa3cd0c5276 (diff) |
PBYTE -> uint8_t*
Diffstat (limited to 'plugins/CryptoPP/src/cpp_cntx.cpp')
-rw-r--r-- | plugins/CryptoPP/src/cpp_cntx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CryptoPP/src/cpp_cntx.cpp b/plugins/CryptoPP/src/cpp_cntx.cpp index 9fcb9e8542..feab8a48e9 100644 --- a/plugins/CryptoPP/src/cpp_cntx.cpp +++ b/plugins/CryptoPP/src/cpp_cntx.cpp @@ -45,22 +45,22 @@ void __cdecl cpp_reset_context(HANDLE context) }
// allocate pdata
-PBYTE cpp_alloc_pdata(pCNTX ptr)
+uint8_t* cpp_alloc_pdata(pCNTX ptr)
{
if (!ptr->pdata) {
if (ptr->mode & MODE_PGP) {
- ptr->pdata = (PBYTE)malloc(sizeof(PGPDATA));
+ ptr->pdata = (uint8_t*)malloc(sizeof(PGPDATA));
memset(ptr->pdata, 0, sizeof(PGPDATA));
}
else if (ptr->mode & MODE_GPG) {
- ptr->pdata = (PBYTE)malloc(sizeof(GPGDATA));
+ ptr->pdata = (uint8_t*)malloc(sizeof(GPGDATA));
memset(ptr->pdata, 0, sizeof(GPGDATA));
}
else if (ptr->mode & MODE_RSA) {
rsa_alloc(ptr);
}
else {
- ptr->pdata = (PBYTE)malloc(sizeof(SIMDATA));
+ ptr->pdata = (uint8_t*)malloc(sizeof(SIMDATA));
memset(ptr->pdata, 0, sizeof(SIMDATA));
}
}
|