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

This commit is contained in:
Paul Bakker
2016-08-25 16:36:35 +01:00
committed by Simon Butcher
parent 80cd444978
commit 4400ecc9fb
2 changed files with 5 additions and 1 deletions
+2 -1
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 );
+3
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 );
}