diff --git a/Makefile b/Makefile index cc29889..432b075 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/testapp/.gitignore b/testapp/.gitignore new file mode 100644 index 0000000..2028dc2 --- /dev/null +++ b/testapp/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +.theos +theos +*.deb +obj +_/* diff --git a/testapp/TestSSLKillSwitch.m b/testapp/TestSSLKillSwitch.m index 2198cea..ae803a9 100644 --- a/testapp/TestSSLKillSwitch.m +++ b/testapp/TestSSLKillSwitch.m @@ -64,7 +64,6 @@ + (void)testSecTrustEvaluateSSLPinning { [inStream open]; [outStream open]; - [outStream write: "GET / HTTP/1.1\r\n" maxLength:20]; } @@ -85,6 +84,8 @@ - (void)stream:(NSStream *)theStream handleEvent:(NSStreamEvent)streamEvent { NSLog(@"%@ - Error: %@", NSStringFromClass([self class]), [[theStream streamError] localizedDescription]); [theStream release]; break; + default: + break; } }