diff options
| author | Nils Maier <maierman@web.de> | 2019-10-06 13:21:48 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2019-10-06 13:22:25 +0200 |
| commit | a184ceb9e2d129e5d20bfd7d3dc5f1ea49d27592 (patch) | |
| tree | e4313835d92fc35cff000d10a6488a80008462e3 | |
| parent | 1677aba1b2554d0ef0af81e0a9cb7dca44e0f4c7 (diff) | |
AppleTLS: correctly define kTLSProtocol13
| -rw-r--r-- | src/AppleTLSSession.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/AppleTLSSession.cc b/src/AppleTLSSession.cc index 74253582..e9e16b64 100644 --- a/src/AppleTLSSession.cc +++ b/src/AppleTLSSession.cc @@ -55,7 +55,10 @@ namespace { #if !defined(__MAC_10_8) static const SSLProtocol kTLSProtocol11 = 7; static const SSLProtocol kTLSProtocol12 = 8; -static const SSLProtocol kTLSProtocol13 = 13; +#endif + +#if !defined(__MAC_10_13) +static const SSLProtocol kTLSProtocol13 = 10; #endif #ifndef CIPHER_NO_DHPARAM |
