Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can I use one function to set cipherSuites for TLS1.2 and TLS1.3? #11899

@joymcg

Description

@joymcg

Hi,
From this document https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_cipher_list.html
I should use SSL_set_cipher_list to set TLS1.2 ciphers and use SSL_CTX_set_ciphersuites to set for TLS1.3.
I want to know whether there is a function to set ciphers for both TLS1.2 and TLS1.3.
If not, why should we use two function for that? Because now we must make a function to use these two kind of ciphers.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolved: answeredThe issue contained a question which has been answeredtriaged: questionThe issue contains a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions