mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
Remove the dependency on MD_MAX_SIZE from PKCS12
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
7bd12c5d5e
commit
e16e6edfce
@ -324,7 +324,7 @@ int mbedtls_pkcs12_derivation( unsigned char *data, size_t datalen,
|
|||||||
|
|
||||||
unsigned char diversifier[128];
|
unsigned char diversifier[128];
|
||||||
unsigned char salt_block[128], pwd_block[128], hash_block[128] = {0};
|
unsigned char salt_block[128], pwd_block[128], hash_block[128] = {0};
|
||||||
unsigned char hash_output[MBEDTLS_MD_MAX_SIZE];
|
unsigned char hash_output[64]; /* Maximal hash size for SHA512 */
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
int use_password = 0;
|
int use_password = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user