| Index: net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp
|
| diff --git a/net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp b/net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp
|
| index fcaff6062a6b0bc0935ef7fa73ff6d5729fca5c2..0cf9562ad327bbd39c25db1085842cb788f38cd2 100644
|
| --- a/net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp
|
| +++ b/net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp
|
| @@ -277,7 +277,7 @@ int nsPKCS12Blob_Import(PK11SlotInfo* slot,
|
| // zero length SECItem.
|
| // We try both variations, zero length item and empty string,
|
| // without giving a user prompt when trying the different empty password flavors.
|
| - if (rv == net::ERR_PKCS12_IMPORT_BAD_PASSWORD && password.size() == 0) {
|
| + if (rv == net::ERR_PKCS12_IMPORT_BAD_PASSWORD && password.empty()) {
|
| rv = nsPKCS12Blob_ImportHelper(pkcs12_data, pkcs12_len, password, true,
|
| slot);
|
| }
|
|
|