freebsd-ports/security/pam_p11/files/patch-src_pam_p11.c
Alex Dupre 2097bcf8aa Random SHA-1 hashes should be sized as real ones.
Submitted by:	Pawel Worach <pawel.worach@gmail.com>
2008-10-31 11:31:35 +00:00

11 lines
342 B
C

--- src/pam_p11.c.orig Sun Jun 11 21:16:46 2006
+++ src/pam_p11.c Sun Jun 11 21:17:53 2006
@@ -39,7 +39,7 @@
#define LOGNAME "pam_p11" /* name for log-file entries */
#define RANDOM_SOURCE "/dev/urandom"
-#define RANDOM_SIZE 128
+#define RANDOM_SIZE 20
#define MAX_SIGSIZE 256
extern int match_user(X509 * x509, const char *login);