Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!cs.utexas.edu!convex!news.duke.edu!eff!news.umbc.edu!haven.umd.edu!cs.umd.edu!mojo.eng.umd.edu!news!hildekca From: hildekca@eng.umd.edu (Kevin Hildebrand) Newsgroups: comp.os.386bsd.bugs Subject: Bug in libcrypt.a on NetBSD 1.0? Date: 04 Nov 1994 14:51:09 GMT Organization: Project GLUE, University of Maryland, College Park, MD Lines: 30 Distribution: world Message-ID: <HILDEKCA.94Nov4095109@shorty.eng.umd.edu> NNTP-Posting-Host: shorty.eng.umd.edu It seems that crypt() doesn't work correctly with non-alphanumeric salts. main() { printf ("%s\n", crypt ("dork", "B$")); } The result from NetBSD: B$PCRvVbyopZc The result from others: B$nCWoDwQadXI However, if you use an alphanumeric salt: main() { printf ("%s\n", crypt ("dork", "B4")); } The result from NetBSD: B4.H1Menh1vrc The result from others: B4.H1Menh1vrc Can anyone tell me where the source for the REAL libcrypt.a is? I was able to find the source for the dummy. Thanks! Kevin