Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumblekit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2017-09-03 19:12:35 +0300
committerGitHub <noreply@github.com>2017-09-03 19:12:35 +0300
commit4a562284001ca96b33da252853706128899f16a8 (patch)
tree3a963b1618f1bfeb2d9f883d1917609e683d9159
parent877e4c6836250fa6c4fdafbd74557d02df2484d7 (diff)
parent0f56484b9077207e43233a900a8f2fbb63d10c25 (diff)
Merge PR #57: MKConnection: use kCFStreamSocketSecurityLevelNegotiatedSSL for kCFStreamSSLLevel to allow for TLS > 1.0.
-rw-r--r--src/MKConnection.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MKConnection.m b/src/MKConnection.m
index 2c546e6..aeca86f 100644
--- a/src/MKConnection.m
+++ b/src/MKConnection.m
@@ -502,7 +502,7 @@ static void MKConnectionUDPCallback(CFSocketRef sock, CFSocketCallBackType type,
&kCFTypeDictionaryKeyCallBacks,
&kCFTypeDictionaryValueCallBacks);
if (sslDictionary) {
- CFDictionaryAddValue(sslDictionary, kCFStreamSSLLevel, kCFStreamSocketSecurityLevelTLSv1);
+ CFDictionaryAddValue(sslDictionary, kCFStreamSSLLevel, kCFStreamSocketSecurityLevelNegotiatedSSL);
CFDictionaryAddValue(sslDictionary, kCFStreamSSLValidatesCertificateChain, _ignoreSSLVerification ? kCFBooleanFalse : kCFBooleanTrue);
if (_certificateChain) {