mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
VC6 fixes
This commit is contained in:
parent
9d7cba4381
commit
2598eb66c9
@ -1980,6 +1980,10 @@ ssl3_CipherGCMBypass(ssl3KeyMaterial *keys,
|
|||||||
unsigned char nonce[12];
|
unsigned char nonce[12];
|
||||||
unsigned int uOutLen;
|
unsigned int uOutLen;
|
||||||
CK_GCM_PARAMS gcmParams;
|
CK_GCM_PARAMS gcmParams;
|
||||||
|
void *cx;
|
||||||
|
BLapiInitContextFunc initFn;
|
||||||
|
SSLCipher encode, decode;
|
||||||
|
SSLDestroy destroy;
|
||||||
|
|
||||||
static const int tagSize = 16;
|
static const int tagSize = 16;
|
||||||
static const int explicitNonceLen = 8;
|
static const int explicitNonceLen = 8;
|
||||||
@ -2016,11 +2020,11 @@ ssl3_CipherGCMBypass(ssl3KeyMaterial *keys,
|
|||||||
gcmParams.ulAADLen = additionalDataLen;
|
gcmParams.ulAADLen = additionalDataLen;
|
||||||
gcmParams.ulTagBits = tagSize * 8;
|
gcmParams.ulTagBits = tagSize * 8;
|
||||||
|
|
||||||
void *cx = keys->cipher_context;
|
cx = keys->cipher_context;
|
||||||
BLapiInitContextFunc initFn = (BLapiInitContextFunc)NULL;
|
initFn = (BLapiInitContextFunc)NULL;
|
||||||
SSLCipher encode = (SSLCipher)NULL;
|
encode = (SSLCipher)NULL;
|
||||||
SSLCipher decode = (SSLCipher)NULL;
|
decode = (SSLCipher)NULL;
|
||||||
SSLDestroy destroy = (SSLDestroy)NULL;
|
destroy = (SSLDestroy)NULL;
|
||||||
|
|
||||||
switch (calg) {
|
switch (calg) {
|
||||||
case calg_aes_gcm:
|
case calg_aes_gcm:
|
||||||
|
Loading…
Reference in New Issue
Block a user