Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Jun 14, 2016
1 parent d235027 commit 587ad29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SocketRocket/SRWebSocket.m
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ - (void)_updateSecureStreamOptions;

// Enforce TLS 1.2
[_outputStream setProperty:(__bridge id)CFSTR("kCFStreamSocketSecurityLevelTLSv1_2") forKey:(__bridge id)kCFStreamPropertySocketSecurityLevel];
self.allowsUntrustedSSLCertificates = YES;
self.allowsUntrustedSSLCertificates = YES; // hard coded for OWS which always pins certs.

if (self.allowsUntrustedSSLCertificates) {
sslOptions[(__bridge NSString *)kCFStreamSSLValidatesCertificateChain] = @NO;
Expand Down

0 comments on commit 587ad29

Please sign in to comment.