From 896f2d08cd181a195c7901270e606b7e984b51fd Mon Sep 17 00:00:00 2001 From: Jorg K Date: Thu, 24 Nov 2016 20:45:32 +0100 Subject: [PATCH] Bug 1320111 - Port 1315143 to Mailnews. rs=bustage-fix CLOSED TREE --- ldap/xpcom/src/nsLDAPSecurityGlue.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ldap/xpcom/src/nsLDAPSecurityGlue.cpp b/ldap/xpcom/src/nsLDAPSecurityGlue.cpp index 69c114c22b..c39723a72a 100644 --- a/ldap/xpcom/src/nsLDAPSecurityGlue.cpp +++ b/ldap/xpcom/src/nsLDAPSecurityGlue.cpp @@ -174,8 +174,11 @@ nsLDAPSSLConnect(const char *hostlist, int defport, int timeout, // the certificate. Need to investigate. // rv = tlsSocketProvider->AddToSocket(PR_AF_INET, - sessionClosure->hostname, defport, - nullptr, EmptyCString(), 0, + sessionClosure->hostname, + defport, + nullptr, + mozilla::NeckoOriginAttributes(), + 0, socketInfo.soinfo_prfd, getter_AddRefs(securityInfo)); if (NS_FAILED(rv)) {