Skip to content

[Bug]: 证书验证回调重复条件【低级别】 #693

Description

@qisefengzheng

What happened?

RFC章节: 4.4 - Peer Authentication

[xqc_tls.c:1038-1039]
xqc_ssl_cert_verify_cb
if (err_code != X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
&& err_code != X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
两个条件完全相同,第二个应为不同的错误码。

Steps To Reproduce

Information and Steps to reproduce the behavior.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions