ChangeLog updated and returning proper value

This commit is contained in:
Kevin Luty 2018-04-02 10:01:16 -05:00
parent d9d5c55438
commit 0cbe816bfc
No known key found for this signature in database
GPG Key ID: 62A52691A515C300
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ Bugfix
* Fix leap year calculation in x509_date_is_valid() to ensure that invalid
dates on leap years with 100 and 400 intervals are handled correctly. Found
by Nicholas Wilson. #694
* Fix overriding and ignoring return values when parsing and writing to
a file in pk_sign program. Found by kevlut in #1142.
= mbed TLS 2.6.0 branch released 2017-08-10

View File

@ -168,7 +168,7 @@ exit:
fflush( stdout ); getchar();
#endif
return( ret );
return( ret ? EXIT_FAILURE : EXIT_SUCCESS );
}
#endif /* MBEDTLS_BIGNUM_C && MBEDTLS_ENTROPY_C &&
MBEDTLS_SHA256_C && MBEDTLS_PK_PARSE_C && MBEDTLS_FS_IO &&