mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Fix SSL status ambiguity.
- Adds CipherSuite string with the full suite - Changes CipherName to be the actual cipher name instead of the (erroneous) full suite like Firefox does.
This commit is contained in:
parent
2205d506e5
commit
624aa2c581
7 changed files with 45 additions and 9 deletions
|
|
@ -418,6 +418,13 @@ TLSServerConnectionInfo::GetCipherName(nsACString& aCipherName)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TLSServerConnectionInfo::GetCipherSuite(nsACString& aCipherSuite)
|
||||
{
|
||||
aCipherSuite.Assign(mCipherSuite);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TLSServerConnectionInfo::GetKeyLength(uint32_t* aKeyLength)
|
||||
{
|
||||
|
|
@ -490,7 +497,8 @@ TLSServerConnectionInfo::HandshakeCallback(PRFileDesc* aFD)
|
|||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
mCipherName.Assign(cipherInfo.cipherSuiteName);
|
||||
mCipherName.Assign(cipherInfo.symCipherName);
|
||||
mCipherSuite.Assign(cipherInfo.cipherSuiteName);
|
||||
mKeyLength = cipherInfo.effectiveKeyBits;
|
||||
mMacLength = cipherInfo.macBits;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue