2 changed files with 25 additions and 2 deletions
@ -0,0 +1,21 @@
|
||||
Index: lib/as_session.c
|
||||
--- lib/as_session.c.orig 2005-10-12 09:38:49 +0200
|
||||
+++ lib/as_session.c 2005-10-12 09:41:43 +0200
|
||||
@@ -401,7 +401,7 @@
|
||||
/* hardcoded zero byte (only if original nonce is used) */
|
||||
as_packet_put_8 (packet, 0x00);
|
||||
/* 22 byte nonce created from supernode guid */
|
||||
- if(!(nonce = as_cipher_nonce (session->cipher, supernode_guid))
|
||||
+ if(!(nonce = as_cipher_nonce (session->cipher, supernode_guid)))
|
||||
{
|
||||
AS_ERR ("Handshake nonce creation failed");
|
||||
as_packet_free (packet);
|
||||
@@ -413,7 +413,7 @@
|
||||
else if (type == PACKET_ACK2)
|
||||
{
|
||||
/* 20 byte nonce2 created from supernode guid */
|
||||
- if(!(nonce = as_cipher_nonce2 (supernode_guid))
|
||||
+ if(!(nonce = as_cipher_nonce2 (supernode_guid)))
|
||||
{
|
||||
AS_ERR ("Handshake nonce2 creation failed");
|
||||
as_packet_free (packet);
|
||||
Loading…
Reference in new issue