diff --git a/programs/test/selftest.c b/programs/test/selftest.c index fb9a7cc72..fc990fe93 100644 --- a/programs/test/selftest.c +++ b/programs/test/selftest.c @@ -34,6 +34,7 @@ #include "polarssl/md2.h" #include "polarssl/md4.h" #include "polarssl/md5.h" +#include "polarssl/rmd160.h" #include "polarssl/sha1.h" #include "polarssl/sha256.h" #include "polarssl/sha512.h" @@ -89,6 +90,11 @@ int main( int argc, char *argv[] ) return( ret ); #endif +#if defined(POLARSSL_RMD160_C) + if( ( ret = rmd160_self_test( v ) ) != 0 ) + return( ret ); +#endif + #if defined(POLARSSL_SHA1_C) if( ( ret = sha1_self_test( v ) ) != 0 ) return( ret );