Bug 1391542 - Port
bug 1388925: Add TLS flags parameter in call to nsTLSSocketProvider::AddToSocket. rs=bustage-fix
--- a/ldap/xpcom/src/nsLDAPSecurityGlue.cpp
+++ b/ldap/xpcom/src/nsLDAPSecurityGlue.cpp
@@ -173,17 +173,17 @@ nsLDAPSSLConnect(const char *hostlist, i
// clear, and I suspect it may depend on the format of the name in
// the certificate. Need to investigate.
//
rv = tlsSocketProvider->AddToSocket(PR_AF_INET,
sessionClosure->hostname,
defport,
nullptr,
mozilla::OriginAttributes(),
- 0,
+ 0, 0,
socketInfo.soinfo_prfd,
getter_AddRefs(securityInfo));
if (NS_FAILED(rv)) {
NS_ERROR("nsLDAPSSLConnect(): unable to add SSL layer to socket");
goto close_socket_and_exit_with_error;
}
// If possible we want to avoid using SSLv2, as this can confuse