mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix error code in dhm_selftest()
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user