[Pkg-openssl-changes] r396 - openssl/branches/lenny/ssl

Kurt Roeckx kroeckx at alioth.debian.org
Mon Jun 1 12:56:17 UTC 2009


Author: kroeckx
Date: 2009-06-01 12:56:16 +0000 (Mon, 01 Jun 2009)
New Revision: 396

Modified:
   openssl/branches/lenny/ssl/d1_both.c
Log:
Use 0.9.8 version of the patch.


Modified: openssl/branches/lenny/ssl/d1_both.c
===================================================================
--- openssl/branches/lenny/ssl/d1_both.c	2009-06-01 12:54:18 UTC (rev 395)
+++ openssl/branches/lenny/ssl/d1_both.c	2009-06-01 12:56:16 UTC (rev 396)
@@ -562,10 +562,10 @@
 		goto err;
 
 	/* Try to find item in queue, to prevent duplicate entries */
-	memset(seq64be,0,sizeof(seq64be));
-	seq64be[6] = (unsigned char) (msg_hdr->seq>>8);
-	seq64be[7] = (unsigned char) msg_hdr->seq;
-	item = pqueue_find(s->d1->buffered_messages, seq64be);
+	pq_64bit_init(&seq64);
+	pq_64bit_assign_word(&seq64, msg_hdr->seq);
+	item = pqueue_find(s->d1->buffered_messages, seq64);
+	pq_64bit_free(&seq64);
 	
 	/* Discard the message if sequence number was already there, is
 	 * too far in the future or the fragment is already in the queue */




More information about the Pkg-openssl-changes mailing list