File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ Change Log
3
3
4
4
### master (unreleased)
5
5
6
+ * Remove Mac enum from Touch target
7
+
6
8
### 0.7.0 (2016-01-07)
7
9
8
10
* Add support for simplified certificates (pull request by 666tos)
Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ - (BOOL)handshakeSSLWithError:(NSError *__autoreleasing *)error
142
142
case errSSLServerAuthCompleted: return [NWErrorUtil noWithErrorCode: kNWErrorSSLHandshakeServerAuthCompleted error: error];
143
143
case errSSLPeerCertExpired: return [NWErrorUtil noWithErrorCode: kNWErrorSSLHandshakePeerCertExpired error: error];
144
144
case errSSLPeerCertRevoked: return [NWErrorUtil noWithErrorCode: kNWErrorSSLHandshakePeerCertRevoked error: error];
145
+ #if !TARGET_OS_IPHONE
145
146
case errSecInDarkWake: return [NWErrorUtil noWithErrorCode: kNWErrorSSLInDarkWake error: error];
147
+ #endif
146
148
case errSSLClosedAbort: return [NWErrorUtil noWithErrorCode: kNWErrorSSLHandshakeClosedAbort error: error];
147
149
}
148
150
return [NWErrorUtil noWithErrorCode: kNWErrorSSLHandshakeFail reason: status error: error];
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ + (NWEnvironment)environmentForCertificate:(NWCertificateRef)certificate
343
343
case kNWCertTypeUnknown :
344
344
break ;
345
345
}
346
- return NWEnvironmentOptionNone ;
346
+ return NWEnvironmentNone ;
347
347
}
348
348
349
349
@end
You can’t perform that action at this time.
0 commit comments