Skip to content

Commit 9570efd

Browse files
author
Leo Vandriel
committedApr 27, 2016
remove mac enum from touch target
·
0.7.50.7.1
1 parent 671c168 commit 9570efd

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed
 

‎CHANGLOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Change Log
33

44
### master (unreleased)
55

6+
* Remove Mac enum from Touch target
7+
68
### 0.7.0 (2016-01-07)
79

810
* Add support for simplified certificates (pull request by 666tos)

‎Classes/NWSSLConnection.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ - (BOOL)handshakeSSLWithError:(NSError *__autoreleasing *)error
142142
case errSSLServerAuthCompleted: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakeServerAuthCompleted error:error];
143143
case errSSLPeerCertExpired: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakePeerCertExpired error:error];
144144
case errSSLPeerCertRevoked: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakePeerCertRevoked error:error];
145+
#if !TARGET_OS_IPHONE
145146
case errSecInDarkWake: return [NWErrorUtil noWithErrorCode:kNWErrorSSLInDarkWake error:error];
147+
#endif
146148
case errSSLClosedAbort: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakeClosedAbort error:error];
147149
}
148150
return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakeFail reason:status error:error];

‎Classes/NWSecTools.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ + (NWEnvironment)environmentForCertificate:(NWCertificateRef)certificate
343343
case kNWCertTypeUnknown:
344344
break;
345345
}
346-
return NWEnvironmentOptionNone;
346+
return NWEnvironmentNone;
347347
}
348348

349349
@end

0 commit comments

Comments
 (0)
Please sign in to comment.