| 102 | }; |
| 103 | |
| 104 | int 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 | |
| 114 | bool IsInternalTlsConfigured() { |
| 115 | // Enable SSL between servers only if both the client validation certificate and the |
no outgoing calls
no test coverage detected