Skip to content

Commit

Permalink
Fix testapp
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Jun 2, 2013
1 parent 6b2ad4a commit 0696b26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ SSLKillSwitch_FILES = Tweak.xm HookedNSURLConnectionDelegate.m

SSLKillSwitch_FRAMEWORKS = UIKit Security
include $(THEOS_MAKE_PATH)/tweak.mk
SUBPROJECTS += testapp
#SUBPROJECTS += testapp
include $(THEOS_MAKE_PATH)/aggregate.mk
6 changes: 6 additions & 0 deletions testapp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.DS_Store
.theos
theos
*.deb
obj
_/*
3 changes: 2 additions & 1 deletion testapp/TestSSLKillSwitch.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ + (void)testSecTrustEvaluateSSLPinning {

[inStream open];
[outStream open];
[outStream write: "GET / HTTP/1.1\r\n" maxLength:20];
}


Expand All @@ -85,6 +84,8 @@ - (void)stream:(NSStream *)theStream handleEvent:(NSStreamEvent)streamEvent {
NSLog(@"%@ - Error: %@", NSStringFromClass([self class]), [[theStream streamError] localizedDescription]);
[theStream release];
break;
default:
break;
}
}

Expand Down

0 comments on commit 0696b26

Please sign in to comment.