mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-03 23:43:40 +00:00
Fix error code in dhm_selftest()
This commit is contained in:
parent
796c6f3aff
commit
648656a628
@ -567,8 +567,10 @@ int dhm_self_test( int verbose )
|
|||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
#else
|
#else
|
||||||
((void) verbose);
|
if( verbose != 0 )
|
||||||
return( POLARSSL_ERR_X509_FEATURE_UNAVAILABLE );
|
polarssl_printf( " DHM parameter load: skipped\n" );
|
||||||
|
|
||||||
|
return( 0 );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user