mirror of
https://github.com/openharmony/third_party_openhitls.git
synced 2026-08-24 18:15:59 -04:00
bb98e1267e
-The SetHmacMdAttr function's internal exception branch and calling function exception branch both release ctx, which can lead to the double free problem -The value of the HITLS_CFG_SetNoClientCertSupport function is isSupportNoClientCert, which defaults to true. In the default scenario, the client does not set a certificate, and the server verification passes. However, the comments do not match the actual function Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1406 Signed-off-by: Dongjianwei001 <dongjianwei1@huawei.com>