[dovecot-cvs] dovecot/src/master ssl-init.c,1.23,1.24
cras at dovecot.org
cras at dovecot.org
Thu Jan 26 22:10:24 EET 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv16810/src/master
Modified Files:
ssl-init.c
Log Message:
Ignore gid of ssl-parameters.dat. It may not be what we expect, and since we
create it world-readable, it doesn't really matter anyway.
Index: ssl-init.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/ssl-init.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ssl-init.c 24 Jan 2006 18:49:16 -0000 1.23
+++ ssl-init.c 26 Jan 2006 20:10:22 -0000 1.24
@@ -99,7 +99,7 @@
regen_time = set->ssl_parameters_regenerate == 0 ? ioloop_time :
(st.st_mtime + (time_t)(set->ssl_parameters_regenerate*3600));
if (regen_time < ioloop_time || st.st_size == 0 ||
- st.st_uid != master_uid || st.st_gid != getegid()) {
+ st.st_uid != master_uid) {
if (foreground) {
i_info("Generating Diffie-Hellman parameters. "
"This may take a while..");
More information about the dovecot-cvs
mailing list