[arch-commits] Commit in lib32-gnutls/trunk (PKGBUILD tls_fix.diff)

Laurent Carlier lcarlier at nymeria.archlinux.org
Sat Jan 25 10:36:29 UTC 2014


    Date: Saturday, January 25, 2014 @ 11:36:28
  Author: lcarlier
Revision: 104731

upgpkg: lib32-gnutls 3.2.9-1

upsteam update 3.2.9

Modified:
  lib32-gnutls/trunk/PKGBUILD
Deleted:
  lib32-gnutls/trunk/tls_fix.diff

--------------+
 PKGBUILD     |    4 ++--
 tls_fix.diff |   32 --------------------------------
 2 files changed, 2 insertions(+), 34 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-25 02:24:17 UTC (rev 104730)
+++ PKGBUILD	2014-01-25 10:36:28 UTC (rev 104731)
@@ -7,7 +7,7 @@
 
 _pkgbasename=gnutls
 pkgname=lib32-$_pkgbasename
-pkgver=3.2.8
+pkgver=3.2.9
 pkgrel=1
 pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)"
 arch=('x86_64')
@@ -16,7 +16,7 @@
 depends=('lib32-zlib' 'lib32-nettle' 'lib32-p11-kit' 'lib32-libtasn1' $_pkgbasename)
 makedepends=('gcc-multilib' 'lib32-libidn')
 source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/${_pkgbasename}-${pkgver}.tar.xz{,.sig})
-md5sums=('a961705dbe0cbbc7220b6c2d2d9e0028'
+md5sums=('9ae2bfa55d4c12dd6005cfb7014977f9'
          'SKIP')
 
 build() {

Deleted: tls_fix.diff
===================================================================
--- tls_fix.diff	2014-01-25 02:24:17 UTC (rev 104730)
+++ tls_fix.diff	2014-01-25 10:36:28 UTC (rev 104731)
@@ -1,32 +0,0 @@
-diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c
-index 198cb34..3caa5ac 100644
---- a/lib/gnutls_cipher.c
-+++ b/lib/gnutls_cipher.c
-@@ -710,7 +710,11 @@ ciphertext_to_compressed (gnutls_session_t session,
-         return gnutls_assert_val(ret);
- 
-       if (unlikely((unsigned)length_to_decrypt > compressed->size))
--        return gnutls_assert_val(GNUTLS_E_DECRYPTION_FAILED);
-+        {
-+          _gnutls_audit_log(session, "Received %u bytes, while expecting less than %u\n",
-+                    (unsigned int)length_to_decrypt, (unsigned int)compressed->size);
-+          return gnutls_assert_val(GNUTLS_E_DECRYPTION_FAILED);
-+        }
- 
-       ret =
-            _gnutls_auth_cipher_decrypt2 (&params->read.cipher_state,
-diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
-index 993ddb9..4795711 100644
---- a/lib/gnutls_record.c
-+++ b/lib/gnutls_record.c
-@@ -1193,8 +1193,8 @@ begin:
-   /* We allocate the maximum possible to allow few compressed bytes to expand to a
-    * full record.
-    */
--  decrypted = _mbuffer_alloc(MAX_RECORD_RECV_SIZE(session), 
--                             MAX_RECORD_RECV_SIZE(session));
-+  t.size = _gnutls_get_max_decrypted_data(session);
-+  decrypted = _mbuffer_alloc(t.size, t.size);
-   if (decrypted == NULL)
-     return gnutls_assert_val(GNUTLS_E_MEMORY_ERROR);
- 




More information about the arch-commits mailing list