We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9911e commit 014a5e4Copy full SHA for 014a5e4
1 file changed
base/src/main/java/com/smartdevicelink/session/BaseSdlSession.java
@@ -222,6 +222,12 @@ protected void processControlService(ProtocolMessage msg) {
222
return;
223
}
224
225
+ if (receivedHeader.getQueryID() != SecurityQueryID.SEND_HANDSHAKE_DATA
226
+ || !(receivedHeader.getQueryType() == SecurityQueryType.REQUEST || receivedHeader.getQueryType() == SecurityQueryType.NOTIFICATION)) {
227
+ DebugTool.logError(TAG, "Security Query module error: Message is not a SEND_HANDSHAKE_DATA REQUEST");
228
+ return;
229
+ }
230
+
231
iNumBytes = sdlSecurity.runHandshake(data, dataToRead);
232
233
// Assemble a security query payload header for our response
0 commit comments