Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 18:35:15 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@FreeBSD.org
Cc:        cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/enigma enigma.c
Message-ID:  <200607251835.16435.jkim@FreeBSD.org>
In-Reply-To: <200607252220.k6PMK6Ue015180@repoman.freebsd.org>
References:  <200607252220.k6PMK6Ue015180@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607251835.16435.jkim>