gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Bug#183176: libgnutls5: Crypts wrong on alpha]


From: Nikos Mavroyanopoulos
Subject: Re: address@hidden: Bug#183176: libgnutls5: Crypts wrong on alpha]
Date: Mon Mar 3 22:57:02 2003
User-agent: Mutt/1.5.3i

On Mon, Mar 03, 2003 at 11:55:24PM +0200, Nikos Mavroyanopoulos wrote:

> Does the attached patch fix the problem? (it should)
Plus this one.

Index: gnutls_cipher.c
===================================================================
RCS file: /cvs/gnutls/gnutls/lib/gnutls_cipher.c,v
retrieving revision 2.65
diff -u -u -r2.65 gnutls_cipher.c
--- gnutls_cipher.c     3 Mar 2003 16:08:21 -0000       2.65
+++ gnutls_cipher.c     3 Mar 2003 21:53:51 -0000
@@ -271,8 +271,6 @@
        }
 
        c_length = _gnutls_conv_uint16(compressed.size);
-       seq_num =
-           
_gnutls_conv_uint64(&session->connection_state.write_sequence_number);
 
        if (td != GNUTLS_MAC_FAILED) {  /* actually when the algorithm in not 
the NULL one */
                _gnutls_hmac(td, UINT64DATA(seq_num), 8);
@@ -431,7 +429,6 @@
 
 
        c_length = _gnutls_conv_uint16((uint16) length);
-       seq_num = _gnutls_conv_uint64( 
&session->connection_state.read_sequence_number);
 
        /* Pass the type, version, length and compressed through
         * MAC.


-- 
Nikos Mavroyanopoulos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]