Backed out changeset 5fb2f4662098 (bug 846498) for wrong bug number in commit message
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 31 Oct 2014 10:03:53 +0100
changeset 237679 1b03e349bddde4ee64d479fc90521bb81800e8e9
parent 237678 17ded4362c51e7b04e7524488cde002031081650
child 237680 74b8493b56100d31337e9b0151bb9ca0471f661b
push idunknown
push userunknown
push dateunknown
bugs846498
milestone36.0a1
backs out5fb2f466209883231e78e1b6e0d6a1d0833c0ea9
Backed out changeset 5fb2f4662098 (bug 846498) for wrong bug number in commit message
netwerk/socket/nsITransportSecurityInfo.idl
security/manager/ssl/src/TransportSecurityInfo.cpp
--- a/netwerk/socket/nsITransportSecurityInfo.idl
+++ b/netwerk/socket/nsITransportSecurityInfo.idl
@@ -3,21 +3,20 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface nsIX509CertList;
 
-[scriptable, uuid(216112d3-28bc-4671-b057-f98cc09ba1ea)]
+[scriptable, uuid(c754ef58-853f-4870-abf7-98be325d2b97)]
 interface nsITransportSecurityInfo : nsISupports {
     readonly attribute unsigned long    securityState;
     readonly attribute wstring          errorMessage;
-    readonly attribute long             errorCode; // PRErrorCode
 
     /**
      * If certificate verification failed, this will be the peer certificate
      * chain provided in the handshake, so it can be used for error reporting.
      * If verification succeeded, this will be null.
      */
     readonly attribute nsIX509CertList failedCertChain;
 };
--- a/security/manager/ssl/src/TransportSecurityInfo.cpp
+++ b/security/manager/ssl/src/TransportSecurityInfo.cpp
@@ -261,23 +261,16 @@ TransportSecurityInfo::formatErrorMessag
 
   if (NS_FAILED(rv)) {
     result.Truncate();
   }
 
   return rv;
 }
 
-NS_IMETHODIMP
-TransportSecurityInfo::GetErrorCode(int32_t* state)
-{
-  *state = GetErrorCode();
-  return NS_OK;
-}
-
 /* void getInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result); */
 NS_IMETHODIMP
 TransportSecurityInfo::GetInterface(const nsIID & uuid, void * *result)
 {
   if (!NS_IsMainThread()) {
     NS_ERROR("nsNSSSocketInfo::GetInterface called off the main thread");
     return NS_ERROR_NOT_SAME_THREAD;
   }