Fix typo in documentation of ssl_parse_certificate_chain()
This commit is contained in:
parent
62d58ed975
commit
353a6f0d50
1 changed files with 1 additions and 1 deletions
|
@ -5913,7 +5913,7 @@ static int ssl_parse_certificate_chain( mbedtls_ssl_context *ssl,
|
||||||
#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
||||||
ret = mbedtls_x509_crt_parse_der( chain, ssl->in_msg + i, n );
|
ret = mbedtls_x509_crt_parse_der( chain, ssl->in_msg + i, n );
|
||||||
#else
|
#else
|
||||||
/* If we don't need to store the CRT chani permanently, parse
|
/* If we don't need to store the CRT chain permanently, parse
|
||||||
* it in-place from the input buffer instead of making a copy. */
|
* it in-place from the input buffer instead of making a copy. */
|
||||||
ret = mbedtls_x509_crt_parse_der_nocopy( chain, ssl->in_msg + i, n );
|
ret = mbedtls_x509_crt_parse_der_nocopy( chain, ssl->in_msg + i, n );
|
||||||
#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
|
#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
|
||||||
|
|
Loading…
Reference in a new issue