(RADIATOR) Authby TACACSPLUS on 64-bit architecture
Ernst Oudhof
e.oudhof at mailfrom.nl
Wed May 23 08:29:41 CDT 2007
Hi,
I noticed that Authby TACACSPLUS didn't work on my 64-bit radius server.
It gave mismatched encryption key errors on the TAC+ server.
The problem is in the md5.h file in the Authen:TacacsPlus package.
It uses an unsigned long as a 32-bit type. On a 64-bit arch a long is
64-bits I've changed it to an int which is 32-bit on both 32 en 64-bit
architectures. (see patch below)
--- md5.h 2007-05-23 05:06:02.000000000 +0000
+++ md5.h 2007-05-23 20:22:12.000000000 +0000
@@ -54,7 +54,7 @@
#if defined(CISCO_MD5_MODS)
/* typedef a 32-bit type */
-typedef unsigned long int UINT4;
+typedef unsigned int UINT4;
/* typedef a generic pointer type */
typedef unsigned char *POINTER;
regards,
Ernst
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list