Fix error code in dhm_selftest()

This commit is contained in:
Manuel Pégourié-Gonnard 2014-03-10 11:06:32 +01:00
parent 796c6f3aff
commit 648656a628

View File

@ -567,8 +567,10 @@ int dhm_self_test( int verbose )
return( 0 );
#else
((void) verbose);
return( POLARSSL_ERR_X509_FEATURE_UNAVAILABLE );
if( verbose != 0 )
polarssl_printf( " DHM parameter load: skipped\n" );
return( 0 );
#endif
}