summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/random/rndw32.c
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /plugins/MirOTR/Libgcrypt/random/rndw32.c
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'plugins/MirOTR/Libgcrypt/random/rndw32.c')
-rw-r--r--plugins/MirOTR/Libgcrypt/random/rndw32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirOTR/Libgcrypt/random/rndw32.c b/plugins/MirOTR/Libgcrypt/random/rndw32.c
index 2ca69f16b3..d50fa22215 100644
--- a/plugins/MirOTR/Libgcrypt/random/rndw32.c
+++ b/plugins/MirOTR/Libgcrypt/random/rndw32.c
@@ -146,7 +146,7 @@ typedef BOOL (WINAPI *CRYPTACQUIRECONTEXT)(HCRYPTPROV *phProv,
DWORD dwProvType,
DWORD dwFlags);
typedef BOOL (WINAPI *CRYPTGENRANDOM)(HCRYPTPROV hProv, DWORD dwLen,
- BYTE *pbBuffer);
+ uint8_t *pbBuffer);
typedef BOOL (WINAPI *CRYPTRELEASECONTEXT)(HCRYPTPROV hProv, DWORD dwFlags);
/* Somewhat alternative functionality available as a direct call, for
@@ -298,7 +298,7 @@ static void
read_system_rng (void (*add)(const void*, size_t, enum random_origins),
enum random_origins requester)
{
- BYTE buffer[ SYSTEMRNG_BYTES + 8 ];
+ uint8_t buffer[ SYSTEMRNG_BYTES + 8 ];
int quality = 0;
if (!system_rng_available)
@@ -505,7 +505,7 @@ slow_gatherer ( void (*add)(const void*, size_t, enum random_origins),
"SYSTEM\\CurrentControlSet\\Control\\ProductOptions",
0, KEY_READ, &hKey) == ERROR_SUCCESS)
{
- BYTE szValue[32 + 8];
+ uint8_t szValue[32 + 8];
dwSize = 32;
if ( debug_me )