[epiphany/wip/sync: 58/86] sync-crypto: Fix conditional in _unpad()
- From: Gabriel Ivașcu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/sync: 58/86] sync-crypto: Fix conditional in _unpad()
- Date: Tue, 28 Mar 2017 20:58:47 +0000 (UTC)
commit 14d4d1244868278be7c9df79b1dd90bf82c11296
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date: Fri Mar 10 18:58:50 2017 +0200
sync-crypto: Fix conditional in _unpad()
src/sync/ephy-sync-crypto.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sync/ephy-sync-crypto.c b/src/sync/ephy-sync-crypto.c
index ff26368..06d51e2 100644
--- a/src/sync/ephy-sync-crypto.c
+++ b/src/sync/ephy-sync-crypto.c
@@ -546,7 +546,7 @@ ephy_sync_crypto_unpad (const guint8 *data,
g_assert (data);
- if (padding >= 1 && padding <= block_len - 1)
+ if (padding >= 1 && padding <= block_len)
out_len = data_len - padding;
else
out_len = data_len;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]