commit | 620ee1982394e9b4d9387130738a5bee8a6d0574 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Fri Aug 07 10:56:09 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Fri Aug 07 10:57:47 2015 +0200 |
tree | b73b2ed515b9e345b8cb275f7be67167525f70f1 | |
parent | d1004f02e68908f4e22f1a0f854df4fd306c855b [diff] [blame] |
Fix return of x509_self_test without SHA-1 No being able to run the test is not a failure
diff --git a/library/x509.c b/library/x509.c index 0d42951..14ec322 100644 --- a/library/x509.c +++ b/library/x509.c
@@ -1016,7 +1016,7 @@ return( 0 ); #else ((void) verbose); - return( MBEDTLS_ERR_X509_FEATURE_UNAVAILABLE ); + return( 0 ); #endif /* MBEDTLS_CERTS_C && MBEDTLS_SHA1_C */ }