mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 11:28:09 +00:00
Fix DER output of gen_key app (found by Gergely Budai)
This commit is contained in:
parent
3461772559
commit
3c38f29a61
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ Bugfix
|
|||
* Other minor issues (found by Peter Vaskovic)
|
||||
* Fix symlink command for cross compiling with CMake (found by Andre
|
||||
Heinecke)
|
||||
* Fix DER output of gen_key app (found by Gergely Budai)
|
||||
|
||||
= PolarSSL 1.3.7 released on 2014-05-02
|
||||
Features
|
||||
|
|
|
@ -143,7 +143,7 @@ static int write_private_key( 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