Minor fixes

1. Rephrase ChangeLog entry.
2. Add a full stop at the end of the fuinction documentation.
This commit is contained in:
Ron Eldor 2018-07-04 17:42:47 +03:00
parent 4624030dc4
commit 98848f020c
2 changed files with 14 additions and 4 deletions

View file

@ -3,9 +3,19 @@ mbed TLS ChangeLog (Sorted per branch, date)
= mbed TLS x.x.x branch released xxxx-xx-xx
Bugfix
* Remove wrong documentation for `mbedtls_ssl_get_session`.
* Fix the key_app_writer example which was writing a leading zero byte which
was creating an invalid ASN.1 tag. Found by Aryeh R. Fixes #1257.
* Fix compilation error on C++, because of a variable named new.
Found and fixed by Hirotaka Niisato in #1783.
* Fix "no symbols" warning issued by ranlib when building on Mac OS X. Fix
contributed by tabascoeye in pull request #1600.
* Clarify documentation for mbedtls_ssl_write() to include 0 as a valid
return value. Found by @davidwu2000. #839
* Fix a memory leak in mbedtls_x509_csr_parse(), found by catenacyber,
Philippe Antoine. Fixes #1623.
* Correct the documentation for `mbedtls_ssl_get_session()`.
This API has deep copy of the session, and the peer
certificate is not lost. #926
certificate is not lost. Fixes #926.
= mbed TLS 2.7.4 branch released 2018-06-18

View file

@ -2377,12 +2377,12 @@ const mbedtls_x509_crt *mbedtls_ssl_get_peer_cert( const mbedtls_ssl_context *ss
* \return 0 if successful,
* MBEDTLS_ERR_SSL_ALLOC_FAILED if memory allocation failed,
* MBEDTLS_ERR_SSL_BAD_INPUT_DATA if used server-side or
* arguments are otherwise invalid
* arguments are otherwise invalid.
*
* \note Only the server certificate is copied, and not the chain
* but this is not a problem because the result of the chain
* verification is stored in `verify_result` and can be checked
* with \c mbedtls_ssl_get_verify_result()
* with \c mbedtls_ssl_get_verify_result().
*
* \sa mbedtls_ssl_set_session()
*/