mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 12:28:40 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue