[epiphany] ephy-nss-glue.c: ignore padLength error in the NSS glue code
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-nss-glue.c: ignore padLength error in the NSS glue code
- Date: Thu, 10 Sep 2009 20:01:45 +0000 (UTC)
commit ba217a89984a7a8af029e88ec774f4e71309d574
Author: Xan Lopez <xan gnome org>
Date: Thu Sep 10 23:01:30 2009 +0300
ephy-nss-glue.c: ignore padLength error in the NSS glue code
It seems to be harmless, and if we ignore it we can still decrypt some passwords.
src/ephy-nss-glue.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-nss-glue.c b/src/ephy-nss-glue.c
index a5f58cc..84992e7 100644
--- a/src/ephy-nss-glue.c
+++ b/src/ephy-nss-glue.c
@@ -129,7 +129,10 @@ unpadBlock(SECItem *data, int blockSize, SECItem *result)
PORT_Memcpy(result->data, data->data, result->len);
if (padLength < 2) {
- return SECWouldBlock;
+ /* Chromium returns an error here, but it seems to be harmless and
+ if we continue we'll be able to import the password
+ correctly */
+ /* return SECWouldBlock; */
}
loser:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]