bug 539174 - Page Info > General lists AES-256 ciper as AES-256 256. r=db48x

This commit is contained in:
Tanner M. Young 2010-07-14 16:59:43 -05:00
Родитель 97f7c885b2
Коммит 1330106653
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -281,14 +281,14 @@ function securityOnLoad() {
msg2 = pkiBundle.getString("pageInfo_Privacy_None2");
}
else if (info.encryptionStrength >= 90) {
hdr = pkiBundle.getFormattedString("pageInfo_StrongEncryption",
hdr = pkiBundle.getFormattedString("pageInfo_StrongEncryptionWithBits",
[info.encryptionAlgorithm, info.encryptionStrength + ""]);
msg1 = pkiBundle.getString("pageInfo_Privacy_Strong1");
msg2 = pkiBundle.getString("pageInfo_Privacy_Strong2");
security._cert = info.cert;
}
else if (info.encryptionStrength > 0) {
hdr = pkiBundle.getFormattedString("pageInfo_WeakEncryption",
hdr = pkiBundle.getFormattedString("pageInfo_WeakEncryptionWithBits",
[info.encryptionAlgorithm, info.encryptionStrength + ""]);
msg1 = pkiBundle.getFormattedString("pageInfo_Privacy_Weak1", [info.hostName]);
msg2 = pkiBundle.getString("pageInfo_Privacy_Weak2");

Просмотреть файл

@ -106,10 +106,10 @@ pageInfo_NoEncryption=Connection Not Encrypted
pageInfo_Privacy_None1=The web site %S does not support encryption for the page you are viewing.
pageInfo_Privacy_None2=Information sent over the Internet without encryption can be seen by other people while it is in transit.
pageInfo_Privacy_None3=The page you are viewing is not encrypted.
pageInfo_StrongEncryption=Connection Encrypted: High-grade Encryption (%S %S bit)
pageInfo_StrongEncryptionWithBits=Connection Encrypted: High-grade Encryption (%S, %S bit keys)
pageInfo_Privacy_Strong1=The page you are viewing was encrypted before being transmitted over the Internet.
pageInfo_Privacy_Strong2=Encryption makes it very difficult for unauthorized people to view information traveling between computers. It is therefore very unlikely that anyone read this page as it traveled across the network.
pageInfo_WeakEncryption=Connection Encrypted: Low-grade Encryption (%S %S bit)
pageInfo_WeakEncryptionWithBits=Connection Encrypted: Low-grade Encryption (%S, %S bit keys)
pageInfo_Privacy_Weak1=The web site %S is using low-grade encryption for the page you are viewing.
pageInfo_Privacy_Weak2=Low-grade encryption may allow some unauthorized people to view this information.
pageInfo_MixedContent=Connection Partially Encrypted