[Olsr-cvs] olsrd-current CHANGELOG,1.105,1.106
Bernd Petrovitsch
(spam-protected)
Fri Nov 2 16:51:48 CET 2007
Update of /cvsroot/olsrd/olsrd-current
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28055
Modified Files:
CHANGELOG
Log Message:
While working on something else, I stumbled over this. Obviously no one
ever used the "secure" plugin on 64bit hardware:
- fixed lib/secure/src/md5.h: This was broken as it had
"typedef unsigned long int UINT4;". "unsigned long int" is 8 bytes on
x86_64.
We are using now the standardized types from <inttypes.h>.
- fixed warnings and improved lib/secure/src/md5.c:
* we are using memcpy() and memset() instead of the open-coded loops as
suggested
* const'ified
* added function prototypes for static functions
* moved static functions to the top so that their declaration is before
their use to allow gcc to inline if only used once.
It remains ugly - God knows why there are that so many useless
type-casts.
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/CHANGELOG,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -d -r1.105 -r1.106
*** CHANGELOG 2 Nov 2007 10:57:30 -0000 1.105
--- CHANGELOG 2 Nov 2007 15:51:46 -0000 1.106
***************
*** 21,24 ****
--- 21,36 ----
* OpenBSD needs an explicit "#include <sys/types.h>" before
"#include <netinet/in.h>".
+ - fixed lib/secure/src/md5.h: This was broken as it had
+ "typedef unsigned long int UINT4;". "unsigned long int" is 8 bytes on x86_64.
+ We are using now the standardized types from <inttypes.h>.
+ - fixed warnings and improved lib/secure/src/md5.c:
+ * we are using memcpy() and memset() instead of the open-coded loops as
+ suggested
+ * const'ified
+ * added function prototypes for static functions
+ * moved static functions to the top so that their declaration is before
+ their use to allow gcc to inline if only used once.
+ It remains ugly - God knows why there are that so many useless
+ type-casts.
0.5.4 ---------------------------------------------------------------------
More information about the Olsr-cvs
mailing list