mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 04:25:31 +00:00
Merge remote-tracking branch 'public/pr/1794' into mbedtls-2.7
This commit is contained in:
commit
e21597db32
|
@ -128,7 +128,7 @@ static int write_public_key( mbedtls_pk_context *key, const char *output_file )
|
|||
return( ret );
|
||||
|
||||
len = ret;
|
||||
c = output_buf + sizeof(output_buf) - len - 1;
|
||||
c = output_buf + sizeof(output_buf) - len;
|
||||
}
|
||||
|
||||
if( ( f = fopen( output_file, "w" ) ) == NULL )
|
||||
|
|
Loading…
Reference in a new issue