mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 17:45:38 +01:00
Fix return of x509_self_test without SHA-1
No being able to run the test is not a failure
This commit is contained in:
parent
d1004f02e6
commit
620ee19823
@ -1016,7 +1016,7 @@ int mbedtls_x509_self_test( int verbose )
|
||||
return( 0 );
|
||||
#else
|
||||
((void) verbose);
|
||||
return( MBEDTLS_ERR_X509_FEATURE_UNAVAILABLE );
|
||||
return( 0 );
|
||||
#endif /* MBEDTLS_CERTS_C && MBEDTLS_SHA1_C */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user