Fix output of PKCS#5 and RIPEMD-160 self tests

This commit is contained in:
Paul Bakker 2016-07-19 14:41:43 +01:00 committed by Simon Butcher
parent 80cd444978
commit 4400ecc9fb
2 changed files with 5 additions and 1 deletions

View File

@ -391,7 +391,8 @@ int mbedtls_pkcs5_self_test( int verbose )
mbedtls_printf( "passed\n" );
}
mbedtls_printf( "\n" );
if( verbose != 0 )
mbedtls_printf( "\n" );
exit:
mbedtls_md_free( &sha1_ctx );

View File

@ -456,6 +456,9 @@ int mbedtls_ripemd160_self_test( int verbose )
mbedtls_printf( "passed\n" );
}
if( verbose != 0 )
mbedtls_printf( "\n" );
return( 0 );
}