Date: Fri, 21 Jan 2000 12:09:32 -0800 (PST) From: racker75@hotmail.com To: freebsd-gnats-submit@FreeBSD.org Subject: misc/16278: Crypt() function returns wierd results Message-ID: <20000121200932.ADDED154E7@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 16278
>Category: misc
>Synopsis: Crypt() function returns wierd results
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 21 12:10:07 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: David Hasson
>Release: 3.3-RELEASE
>Organization:
>Environment:
FreeBSD jkmiller.ath.cx 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Sun Nov 28 21:12:3
9 PST 1999 funtaff@nimrod.ath.cx:/usr/src/sys/compile/NITWIT i386
>Description:
Using perl, crypt() returns long, unintelligable values. For example, the perl installed with 3.3-RELEASE produces these results:
$salt = 'fs';
$pass = 'heynow';
$out = crypt($salt, $pass);
print "$out\n";
returns this:
bash-2.03$ perl test3.pl
$1$heynow$0jPK61iCt92vyGs2ciUUa.
I do not know the cause of this, or how it can be fixed, it seems to be dependent on this particular machine.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000121200932.ADDED154E7>
