mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03: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:
@ -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 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user