cvs commit: src/usr.bin/enigma enigma.c

Jung-uk Kim jkim at FreeBSD.org
Tue Jul 25 22:35:30 UTC 2006


On Tuesday 25 July 2006 06:20 pm, Jung-uk Kim wrote:
> jkim        2006-07-25 22:20:05 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     usr.bin/enigma       enigma.c
>   Log:
>   Fix 32-bit integer math on 64-bit processor.  Just use int32_t(!)
> instead of incorrect and machine-dependent integer math.  Now we
> can encrypt a file on an i386 and decrypt it on an amd64, and vice
> versa.
>
>   Submitted by:   Andrew Heybey < ath at niksun dot com >
>
>   Revision  Changes    Path
>   1.9       +3 -10     src/usr.bin/enigma/enigma.c

This change will break your enigma(1)/crypt(1) encrypted file on 
64-bit arch if you are still using it. ;-)  32-bit archs are not 
affected.

Jung-uk Kim


More information about the cvs-all mailing list