[Olsr-cvs] olsrd-current/lib/secure/src olsrd_secure.c,1.14,1.15

Andreas T�nnesen (spam-protected)
Thu Nov 10 20:25:39 CET 2005


Update of /cvsroot/olsrd/olsrd-current/lib/secure/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28878/src

Modified Files:
	olsrd_secure.c 
Log Message:
Removed warnings

Index: olsrd_secure.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/src/olsrd_secure.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** olsrd_secure.c	29 May 2005 12:47:44 -0000	1.14
--- olsrd_secure.c	10 Nov 2005 19:25:37 -0000	1.15
***************
*** 72,78 ****
  
  static void
- MD5_checksum(char *, olsr_u16_t, char *);
- 
- static void
  MD5_checksum(char *data, olsr_u16_t data_len, char *hashbuf)
  {
--- 72,75 ----
***************
*** 80,85 ****
  
    MD5Init(&context);
!   MD5Update(&context, data, data_len);
!   MD5Final(hashbuf, &context);
  }
  
--- 77,82 ----
  
    MD5Init(&context);
!   MD5Update(&context, (unsigned char *)data, data_len);
!   MD5Final((unsigned char *)hashbuf, &context);
  }
  





More information about the Olsr-cvs mailing list