MCPcopy Create free account
hub / github.com/apache/impala / MaxSupportedTlsVersion

Function MaxSupportedTlsVersion

be/src/util/openssl-util.cc:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102};
103
104int MaxSupportedTlsVersion() {
105#if OPENSSL_VERSION_NUMBER < 0x10100000L
106 return SSLv23_method()->version;
107#else
108 // OpenSSL 1.1+ doesn't let us detect the supported TLS version at runtime. Assume
109 // that the OpenSSL library we're linked against supports only up to TLS1.2.
110 return TLS1_2_VERSION;
111#endif
112}
113
114bool IsInternalTlsConfigured() {
115 // Enable SSL between servers only if both the client validation certificate and the

Callers 4

IsSupportedMethod · 0.85
CreateSocketMethod · 0.85
ThriftClientImplMethod · 0.85
IsModeSupportedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected