ports/security/apg/files/patch-apg.c
Matthew Seaman 67c07850d7 - Fix spelling in docs: normally I'd submit this change upstream, but
upstream has been completely unresponsive for years.
- While here, rebuild patches using current naming conventions
- Trim Makefile headers

PR:		165312
Submitted by:	Anatoly Borodin
2012-09-23 14:59:36 +00:00

14 lines
217 B
C

$FreeBSD$
--- apg.c.orig
+++ apg.c
@@ -709,7 +709,7 @@
*/
char * crypt_passstring (const char *p)
{
- char salt[10];
+ char salt[11];
gen_rand_pass (salt, 10, 10, S_SL|S_CL|S_NB);
return (crypt(p, salt));
}