Skip to content

Commit

Permalink
Update SmartDeviceLink/private/SDLProtocol.m
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Fischer <joeljfischer@gmail.com>
  • Loading branch information
FrankElias77 and joeljfischer authored Oct 22, 2021
1 parent c5bc23f commit de4c6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartDeviceLink/private/SDLProtocol.m
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ - (void)sdl_processSecurityMessage:(SDLProtocolMessage *)clientHandshakeMessage

// If the handshake went bad and the security library ain't happy, send over the failure to the module. This should result in an ACK with encryption off.
SDLProtocolMessage *serverSecurityMessage = nil;
if (serverHandshakeData == nil || serverHandshakeData.length == 0) {
if (serverHandshakeData.length == 0) {
SDLLogE(@"Error running TLS handshake procedure. Sending error to module. Error: %@", handshakeError);

serverSecurityMessage = [self.class sdl_serverSecurityFailedMessageWithClientMessageHeader:clientHandshakeMessage.header messageId:++_messageID];
Expand Down

0 comments on commit de4c6e0

Please # to comment.