author | Carsten "Tomcat" Book <cbook@mozilla.com> |
Fri, 31 Oct 2014 10:03:53 +0100 | |
changeset 213365 | 1b03e349bddde4ee64d479fc90521bb81800e8e9 |
parent 213364 | 17ded4362c51e7b04e7524488cde002031081650 |
child 213366 | 74b8493b56100d31337e9b0151bb9ca0471f661b |
push id | 27748 |
push user | ryanvm@gmail.com |
push date | Fri, 31 Oct 2014 20:14:33 +0000 |
treeherder | mozilla-central@12ac66e2c016 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 846498 |
milestone | 36.0a1 |
backs out | 5fb2f466209883231e78e1b6e0d6a1d0833c0ea9 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
netwerk/socket/nsITransportSecurityInfo.idl | file | annotate | diff | comparison | revisions | |
security/manager/ssl/src/TransportSecurityInfo.cpp | file | annotate | diff | comparison | revisions |
--- 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; }