mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Fix hash buffer size in pkey programs
This commit is contained in:
parent
d224ff1f63
commit
102a620c9a
8 changed files with 8 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ int main( int argc, char *argv[] )
|
|||
int ret, c;
|
||||
size_t i;
|
||||
mbedtls_rsa_context rsa;
|
||||
unsigned char hash[20];
|
||||
unsigned char hash[32];
|
||||
unsigned char buf[MBEDTLS_MPI_MAX_SIZE];
|
||||
char filename[512];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue