File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 7
7
invalidated keys of a lifetime of less than a 1s. Fixes #1968.
8
8
* Fix failure in hmac_drbg in the benchmark sample application, when
9
9
MBEDTLS_THREADING_C is defined. Found by TrinityTonic, #1095
10
+ * Clarify documentation of mbedtls_ssl_set_own_cert() regarding the absence
11
+ of check for certificate/key matching. Reported by Attila Molnar, #507.
10
12
11
13
Changes
12
14
* Add tests for session resumption in DTLS.
Original file line number Diff line number Diff line change @@ -2043,6 +2043,14 @@ void mbedtls_ssl_conf_ca_chain( mbedtls_ssl_config *conf,
2043
2043
* whether it matches those preferences - the server can then
2044
2044
* decide what it wants to do with it.
2045
2045
*
2046
+ * \note The provided \p pk_key needs to match the public key in the
2047
+ * first certificate in \p own_cert, or all handshakes using
2048
+ * that certificate will fail. It is your reponsibility
2049
+ * to ensure that; this function will not perform any check.
2050
+ * You may use mbedtls_pk_check_pair() in order to perform
2051
+ * this check yourself, but be aware that this function can
2052
+ * be computationally expensive on some key types.
2053
+ *
2046
2054
* \param conf SSL configuration
2047
2055
* \param own_cert own public certificate chain
2048
2056
* \param pk_key own private key
You can’t perform that action at this time.
0 commit comments