summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Gluck <justin.gluck@livio.io>2019-12-02 14:13:01 -0500
committerJustin Gluck <justin.gluck@livio.io>2019-12-02 14:13:01 -0500
commit5004e4d00cdd1b515b7e6ab13b2af386fe018e6f (patch)
tree28a3e6ca127e116e0761890927fb0a4b459d72be
parentcb24d2cf0b1b89fafb04adb954eb48b42a67c311 (diff)
downloadsdl_ios-5004e4d00cdd1b515b7e6ab13b2af386fe018e6f.tar.gz
PR issues
-rw-r--r--SmartDeviceLink/SDLSecondaryTransportManager.m8
1 files changed, 2 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLSecondaryTransportManager.m b/SmartDeviceLink/SDLSecondaryTransportManager.m
index 0de8c7c0d..a09d5f667 100644
--- a/SmartDeviceLink/SDLSecondaryTransportManager.m
+++ b/SmartDeviceLink/SDLSecondaryTransportManager.m
@@ -509,9 +509,7 @@ static const int TCPPortUnspecified = -1;
[protocol.protocolDelegateTable addObject:self];
self.secondaryProtocol = protocol;
- if(self.primaryProtocol.securityManager) {
- self.secondaryProtocol.securityManager = self.primaryProtocol.securityManager;
- }
+ self.secondaryProtocol.securityManager = self.primaryProtocol.securityManager;
self.secondaryTransport = transport;
// we reuse Session ID acquired from primary transport's protocol
@@ -534,9 +532,7 @@ static const int TCPPortUnspecified = -1;
[protocol.protocolDelegateTable addObject:self];
self.secondaryProtocol = protocol;
- if(self.primaryProtocol.securityManager) {
- self.secondaryProtocol.securityManager = self.primaryProtocol.securityManager;
- }
+ self.secondaryProtocol.securityManager = self.primaryProtocol.securityManager;
self.secondaryTransport = transport;
// we reuse Session ID acquired from primary transport's protocol