зеркало из https://github.com/mozilla/pjs.git
Bug 317630, PSM's FIPS token label is truncated
r=rrelyea
This commit is contained in:
Родитель
fd282ee94c
Коммит
87d2865f06
|
@ -68,10 +68,10 @@ SlotDescription=PSM Internal Cryptographic Services
|
|||
# 64 bytes long after conversion to UTF8
|
||||
PrivateSlotDescription=PSM Private Keys
|
||||
#
|
||||
# 32
|
||||
Fips140TokenDescription=FIPS-140 Softw. Security Device
|
||||
# 64
|
||||
FipsSlotDescription=PSM Internal FIPS-140-1 Cryptographic Services
|
||||
# 64
|
||||
FipsPrivateSlotDescription=PSM FIPS-140-1 User Private Key Services
|
||||
Fips140SlotDescription=FIPS-140 Cryptographic, Key and Certificate Services
|
||||
# 32
|
||||
InternalToken=Software Security Device
|
||||
# End of size restriction.
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
<grid flex="1" style="margin:5px">
|
||||
<columns>
|
||||
<column flex="1"/>
|
||||
<column flex="1"/>
|
||||
<column flex="3"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
|
|
|
@ -802,8 +802,8 @@ nsNSSComponent::ConfigureInternalPKCS11Token()
|
|||
nsAutoString privateTokenDescription;
|
||||
nsAutoString slotDescription;
|
||||
nsAutoString privateSlotDescription;
|
||||
nsAutoString fipsSlotDescription;
|
||||
nsAutoString fipsPrivateSlotDescription;
|
||||
nsAutoString fips140TokenDescription;
|
||||
nsAutoString fips140SlotDescription;
|
||||
|
||||
nsresult rv;
|
||||
rv = GetPIPNSSBundleString("ManufacturerID", manufacturerID);
|
||||
|
@ -824,10 +824,10 @@ nsNSSComponent::ConfigureInternalPKCS11Token()
|
|||
rv = GetPIPNSSBundleString("PrivateSlotDescription", privateSlotDescription);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = GetPIPNSSBundleString("FipsSlotDescription", fipsSlotDescription);
|
||||
rv = GetPIPNSSBundleString("Fips140TokenDescription", fips140TokenDescription);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = GetPIPNSSBundleString("FipsPrivateSlotDescription", fipsPrivateSlotDescription);
|
||||
rv = GetPIPNSSBundleString("Fips140SlotDescription", fips140SlotDescription);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
PK11_ConfigurePKCS11(NS_ConvertUTF16toUTF8(manufacturerID).get(),
|
||||
|
@ -836,8 +836,8 @@ nsNSSComponent::ConfigureInternalPKCS11Token()
|
|||
NS_ConvertUTF16toUTF8(privateTokenDescription).get(),
|
||||
NS_ConvertUTF16toUTF8(slotDescription).get(),
|
||||
NS_ConvertUTF16toUTF8(privateSlotDescription).get(),
|
||||
NS_ConvertUTF16toUTF8(fipsSlotDescription).get(),
|
||||
NS_ConvertUTF16toUTF8(fipsPrivateSlotDescription).get(),
|
||||
NS_ConvertUTF16toUTF8(fips140TokenDescription).get(),
|
||||
NS_ConvertUTF16toUTF8(fips140SlotDescription).get(),
|
||||
0, 0);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче