Fix reporting of non-DH (multi-stream) security events.

cusax-fix
Werner Dittmann 17 years ago
parent 0885f92503
commit aba8fd9397

@ -170,7 +170,8 @@ public void showMessage(ZrtpCodes.MessageSeverity sev,
if (msgCode instanceof ZrtpCodes.InfoCodes)
{
ZrtpCodes.InfoCodes inf = (ZrtpCodes.InfoCodes) msgCode;
// If the ZRTP Master session (DH mode) signals "security on"
// then start multi-stream sessions.
// Signal SAS to GUI only if this is a DH mode session.
@ -181,13 +182,13 @@ public void showMessage(ZrtpCodes.MessageSeverity sev,
{
multiStreams = ((CallSessionImpl) callSession)
.startZrtpMultiStreams();
((AbstractCallParticipant) callParticipant)
.setSecurityOn( true,
sessionType,
cipher,
sas,
isSasVerified);
((AbstractCallParticipant) callParticipant).setSecurityOn(true,
sessionType, cipher, sas, isSasVerified);
}
else
{
((AbstractCallParticipant) callParticipant).setSecurityOn(true,
sessionType, cipher, null, false);
}
}
}

Loading…
Cancel
Save