From owner-cvs-src@FreeBSD.ORG Tue Jul 25 22:35:30 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72ED516A4DA; Tue, 25 Jul 2006 22:35:30 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD48D43D4C; Tue, 25 Jul 2006 22:35:29 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id k6PMZTiS008525; Tue, 25 Jul 2006 18:35:29 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Tue, 25 Jul 2006 18:35:15 -0400 User-Agent: KMail/1.6.2 References: <200607252220.k6PMK6Ue015180@repoman.freebsd.org> In-Reply-To: <200607252220.k6PMK6Ue015180@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200607251835.16435.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/1618/Mon Jul 24 21:12:40 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/enigma enigma.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 22:35:30 -0000 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