Skip to content

Commit

Permalink
remove mac enum from touch target
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Vandriel committed Apr 27, 2016
1 parent 671c168 commit 9570efd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Change Log

### master (unreleased)

* Remove Mac enum from Touch target

### 0.7.0 (2016-01-07)

* Add support for simplified certificates (pull request by 666tos)
Expand Down
2 changes: 2 additions & 0 deletions Classes/NWSSLConnection.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ - (BOOL)handshakeSSLWithError:(NSError *__autoreleasing *)error
case errSSLServerAuthCompleted: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakeServerAuthCompleted error:error];
case errSSLPeerCertExpired: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakePeerCertExpired error:error];
case errSSLPeerCertRevoked: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakePeerCertRevoked error:error];
#if !TARGET_OS_IPHONE
case errSecInDarkWake: return [NWErrorUtil noWithErrorCode:kNWErrorSSLInDarkWake error:error];
#endif
case errSSLClosedAbort: return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakeClosedAbort error:error];
}
return [NWErrorUtil noWithErrorCode:kNWErrorSSLHandshakeFail reason:status error:error];
Expand Down
2 changes: 1 addition & 1 deletion Classes/NWSecTools.m
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ + (NWEnvironment)environmentForCertificate:(NWCertificateRef)certificate
case kNWCertTypeUnknown:
break;
}
return NWEnvironmentOptionNone;
return NWEnvironmentNone;
}

@end

0 comments on commit 9570efd

Please sign in to comment.