opnsense-ports/security/apg/files/patch-apg.c
Franco Fichtner 3ef036b083 */*: sync with upstream
Taken from: FreeBSD
2015-05-17 07:51:16 +02:00

11 lines
247 B
C

--- apg.c.orig 2003-08-07 15:40:39 UTC
+++ apg.c
@@ -709,7 +709,7 @@ print_help (void)
*/
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));
}