[dovecot-cvs] dovecot/src/master login-process.c, 1.89, 1.90 ssl-init-openssl.c, 1.8, 1.9
tss at dovecot.org
tss at dovecot.org
Fri Jan 26 13:59:02 UTC 2007
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv15340/master
Modified Files:
login-process.c ssl-init-openssl.c
Log Message:
Cleanups and minor fixes
Index: login-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- login-process.c 15 Dec 2006 18:38:24 -0000 1.89
+++ login-process.c 26 Jan 2007 13:58:56 -0000 1.90
@@ -245,7 +245,7 @@
{
struct login_group *group;
const char *name, *proto;
- char buf[256];
+ unsigned char buf[256];
enum mail_protocol protocol;
unsigned int len;
ssize_t ret;
Index: ssl-init-openssl.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/ssl-init-openssl.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ssl-init-openssl.c 31 May 2006 13:59:03 -0000 1.8
+++ ssl-init-openssl.c 26 Jan 2007 13:58:56 -0000 1.9
@@ -66,7 +66,8 @@
for (i = 0; i < DH_PARAM_BITSIZE_COUNT; i++)
generate_dh_parameters(dh_param_bitsizes[i], fd, fname);
bits = 0;
- write_full(fd, &bits, sizeof(bits));
+ if (write_full(fd, &bits, sizeof(bits)) < 0)
+ i_fatal("write_full() failed for file %s: %m", fname);
}
#endif
More information about the dovecot-cvs
mailing list