mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 16:55:43 +01:00
Fix to compile on MSVC 2010 64bit
Changed literal suffix in gcm.c from llu to ull as the former is not recognised by MS Visual Studio 2010.
This commit is contained in:
parent
55bd7e450c
commit
492519a7b4
@ -199,7 +199,7 @@ int gcm_crypt_and_tag( gcm_context *ctx,
|
||||
if( ( (uint64_t) iv_len ) >> 61 != 0 ||
|
||||
( (uint64_t) add_len ) >> 61 != 0 ||
|
||||
tag_len > 16 || tag_len < 4 ||
|
||||
length > 0x03FFFFE0llu )
|
||||
length > 0x03FFFFE0ull )
|
||||
{
|
||||
return( POLARSSL_ERR_GCM_BAD_INPUT );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user