Merge remote-tracking branch 'public/pr/1258' into development

This commit is contained in:
Simon Butcher 2018-06-28 11:44:59 +01:00
commit 19c01efda1

View file

@ -128,7 +128,7 @@ static int write_public_key( mbedtls_pk_context *key, const char *output_file )
return( ret ); return( ret );
len = 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 ) if( ( f = fopen( output_file, "w" ) ) == NULL )