equal
deleted
inserted
replaced
537 { |
537 { |
538 THCIAuthenticationRequirement authReq = EMitmNotReqGeneralBonding; |
538 THCIAuthenticationRequirement authReq = EMitmNotReqGeneralBonding; |
539 |
539 |
540 // If MITM protection is required by a service, or the device is in paired only connections mode |
540 // If MITM protection is required by a service, or the device is in paired only connections mode |
541 // the require MITM protection. |
541 // the require MITM protection. |
542 if (iRequirements.MitmProtection() != EMitmNotRequired || iSecMan.ConnectionsManager().IsAcceptPairedOnlyMode()) |
542 if (iRequirements.MitmProtection() != EMitmNotRequired) |
543 { |
543 { |
544 if (iAccessType == EDedicatedBonding) |
544 if (iAccessType == EDedicatedBonding) |
545 { |
545 { |
546 authReq = EMitmReqDedicatedBonding; |
546 authReq = EMitmReqDedicatedBonding; |
547 } |
547 } |