equal
deleted
inserted
replaced
489 if ((session != null) && |
489 if ((session != null) && |
490 !ClientHandshakeContext.allowUnsafeServerCertChange) { |
490 !ClientHandshakeContext.allowUnsafeServerCertChange) { |
491 // It is fine to move on with abbreviate handshake if |
491 // It is fine to move on with abbreviate handshake if |
492 // endpoint identification is enabled. |
492 // endpoint identification is enabled. |
493 String identityAlg = chc.sslConfig.identificationProtocol; |
493 String identityAlg = chc.sslConfig.identificationProtocol; |
494 if ((identityAlg == null || identityAlg.length() == 0)) { |
494 if (identityAlg == null || identityAlg.isEmpty()) { |
495 if (isEmsAvailable) { |
495 if (isEmsAvailable) { |
496 if (!session.useExtendedMasterSecret) { |
496 if (!session.useExtendedMasterSecret) { |
497 // perform full handshake instead |
497 // perform full handshake instead |
498 session = null; |
498 session = null; |
499 } // Otherwise, use extended master secret. |
499 } // Otherwise, use extended master secret. |