From: Gabriel B. <sh...@us...> - 2005-12-30 21:29:40
|
Update of /cvsroot/solidircd/solidircd-stable/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12522/src Modified Files: s_bsd.c send.c Log Message: If openssl was disabled ircd wont compile, fixed. Index: send.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/send.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** send.c 5 Jul 2005 21:53:42 -0000 1.4 --- send.c 30 Dec 2005 21:29:28 -0000 1.5 *************** *** 2063,2068 **** mc->s_bufs.m += sizeof(selfbuf); mc->s_bufs.c++; mc->s_bufs.m += sizeof(rc4buf); ! return 0; } --- 2063,2071 ---- mc->s_bufs.m += sizeof(selfbuf); mc->s_bufs.c++; + #ifdef HAVE_ENCRYPTION_ON mc->s_bufs.m += sizeof(rc4buf); ! #endif return 0; } + + Index: s_bsd.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_bsd.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** s_bsd.c 5 Jul 2005 21:53:41 -0000 1.4 --- s_bsd.c 30 Dec 2005 21:29:28 -0000 1.5 *************** *** 1270,1274 **** if (!IsSSL (acptr)) { ! /* sockets inherit the options of their parents.. do we need these? */ set_non_blocking(acptr->fd, acptr); --- 1270,1274 ---- if (!IsSSL (acptr)) { ! #endif /* sockets inherit the options of their parents.. do we need these? */ set_non_blocking(acptr->fd, acptr); *************** *** 1322,1326 **** } #endif ! #endif lin.flags = ASYNC_CLIENT; lin.value.cptr = acptr; --- 1322,1326 ---- } #endif ! lin.flags = ASYNC_CLIENT; lin.value.cptr = acptr; |