diff --git a/library/pkcs5.c b/library/pkcs5.c index e769783ee..e2c4e48c7 100644 --- a/library/pkcs5.c +++ b/library/pkcs5.c @@ -408,7 +408,7 @@ int pkcs5_self_test( int verbose ) exit: md_free( &sha1_ctx ); - return( 0 ); + return( ret ); } #endif /* POLARSSL_SHA1_C */