mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 17:24:20 +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 );
|
return( 0 );
|
||||||
#else
|
#else
|
||||||
((void) verbose);
|
((void) verbose);
|
||||||
return( MBEDTLS_ERR_X509_FEATURE_UNAVAILABLE );
|
return( 0 );
|
||||||
#endif /* MBEDTLS_CERTS_C && MBEDTLS_SHA1_C */
|
#endif /* MBEDTLS_CERTS_C && MBEDTLS_SHA1_C */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user