[dovecot-cvs] dovecot/src/login-common main.c,1.18,1.19
cras at dovecot.org
cras at dovecot.org
Sun Sep 12 17:55:50 EEST 2004
Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv5774/login-common
Modified Files:
main.c
Log Message:
Replaced timestamp in APOP challenge with 128 bits of randomness.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- main.c 23 Jun 2004 17:48:35 -0000 1.18
+++ main.c 12 Sep 2004 14:55:47 -0000 1.19
@@ -3,6 +3,7 @@
#include "common.h"
#include "ioloop.h"
#include "lib-signals.h"
+#include "randgen.h"
#include "restrict-access.h"
#include "restrict-process-size.h"
#include "process-title.h"
@@ -136,6 +137,7 @@
/* Initialize SSL proxy so it can read certificate and private
key file. */
+ random_init();
ssl_proxy_init();
/* Refuse to run as root - we should never need it and it's
More information about the dovecot-cvs
mailing list