mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 10:22:51 +01:00
* parameterize MAX_LENGTH_SZ using overrideable WOLFSSL_ASN_MAX_LENGTH_SZ, default value 5 (raised from 4). * refactor other Misc_ASN constants to refer to MAX_LENGTH_SZ as appropriate. * tweak BytePrecision() appropriately. * refactor SetShortInt() to use BytePrecision() and include a length assert against MAX_SHORT_SZ to assure no buffer overruns with reduced WOLFSSL_ASN_MAX_LENGTH_SZ.