[dovecot-cvs] dovecot/src/login-common ssl-proxy-openssl.c, 1.37.2.7, 1.37.2.8
cras at dovecot.org
cras at dovecot.org
Mon Aug 7 18:01:55 EEST 2006
Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv19896
Modified Files:
Tag: branch_1_0
ssl-proxy-openssl.c
Log Message:
Don't crash if SSL is disabled.
Index: ssl-proxy-openssl.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/ssl-proxy-openssl.c,v
retrieving revision 1.37.2.7
retrieving revision 1.37.2.8
diff -u -d -r1.37.2.7 -r1.37.2.8
--- ssl-proxy-openssl.c 6 Aug 2006 20:08:52 -0000 1.37.2.7
+++ ssl-proxy-openssl.c 7 Aug 2006 15:01:53 -0000 1.37.2.8
@@ -654,7 +654,7 @@
unsigned int ssl_proxy_get_count(void)
{
- return hash_size(ssl_proxies);
+ return ssl_proxies == NULL ? 0 : hash_size(ssl_proxies);
}
void ssl_proxy_init(void)
More information about the dovecot-cvs
mailing list