Date: Mon, 17 Jul 2000 03:52:57 -0400 From: Mark Abene <phiber@radicalmedia.com> To: freebsd-alpha@freebsd.org Subject: fix for libskey Message-ID: <20000717035257.W22774@radicalmedia.com>
next in thread | raw e-mail | index | archive | help
Please accept the following diff against libskey, which fixes the fact that
it returned nonsensical results (e.g. from /usr/bin/key). It now works
properly.
Cheers,
-Mark
--- /usr/src/lib/libskey/skeysubr.c.orig Mon Jul 17 03:44:30 2000
+++ /usr/src/lib/libskey/skeysubr.c Mon Jul 17 03:45:00 2000
@@ -21,7 +21,7 @@
{
char *buf;
MDX_CTX md;
- u_long results[4];
+ u_int results[4];
unsigned int buflen;
buflen = strlen(seed) + strlen(passwd);
@@ -51,7 +51,7 @@
char *x;
{
MDX_CTX md;
- u_long results[4];
+ u_int results[4];
MDXInit(&md);
MDXUpdate(&md,(unsigned char *)x,8);
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000717035257.W22774>
