Home
last modified time | relevance | path

Searched refs:anyVersion (Results 1 – 2 of 2) sorted by relevance

/foundation/communication/netstack/frameworks/native/tls_socket/src/
Dtls_context.cpp121 const long anyVersion = TLS_ANY_VERSION; in SetMinAndMaxProtocol() local
122 long minVersion = anyVersion; in SetMinAndMaxProtocol()
123 long maxVersion = anyVersion; in SetMinAndMaxProtocol()
151 if (minVersion != anyVersion && !SSL_CTX_set_min_proto_version(tlsContext->ctx_, minVersion)) { in SetMinAndMaxProtocol()
156 if (maxVersion != anyVersion && !SSL_CTX_set_max_proto_version(tlsContext->ctx_, maxVersion)) { in SetMinAndMaxProtocol()
Dtls_context_server.cpp121 const long anyVersion = TLS_ANY_VERSION; in SetMinAndMaxProtocol() local
122 long minVersion = anyVersion; in SetMinAndMaxProtocol()
123 long maxVersion = anyVersion; in SetMinAndMaxProtocol()
151 if (minVersion != anyVersion && !SSL_CTX_set_min_proto_version(tlsContext->ctx_, minVersion)) { in SetMinAndMaxProtocol()
156 if (maxVersion != anyVersion && !SSL_CTX_set_max_proto_version(tlsContext->ctx_, maxVersion)) { in SetMinAndMaxProtocol()