openbsd-ports/security/crack/patches/patch-src_util_elcid_c,bsd
sturm 4760a9e63c cleanup and functional improvements mainly from
Tom Cosgrove <tom dot cosgrove at arches-consulting dot com>

bump PKGNAME
2003-11-18 19:07:53 +00:00

13 lines
527 B
Plaintext

$OpenBSD: patch-src_util_elcid_c,bsd,v 1.1 2003/11/18 19:07:54 sturm Exp $
--- src/util/elcid.c,bsd.orig 1996-11-05 00:01:46.000000000 +0000
+++ src/util/elcid.c,bsd 2003-11-12 16:32:11.000000000 +0000
@@ -26,7 +26,7 @@
#define CIPHERTEXTSIZE 36
#define PLAINTEXTSIZE 16 /* must be <= MAXWORDLEN in libcrack.h */
-#define SALTSIZE 12 /* $1$abcdefgh$ - room for 12 or less chars */
+#define SALTSIZE 128 /* Allow for much longer salt in OpenBSD */
static char private_salt[SALTSIZE + 1];