From: Michael Hampton Date: Sun, 3 Feb 2002 15:29:03 +0000 (+0000) Subject: * fixed a silly oversight in serv_crypto.c when removing the ETLS command X-Git-Tag: v7.86~6560 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=7a23159e6be0d64fcbb11c08f789b15069059bef;p=citadel.git * fixed a silly oversight in serv_crypto.c when removing the ETLS command --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 7f3ab77eb..53117e273 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 590.100 2002/02/03 15:29:03 error + * fixed a silly oversight in serv_crypto.c when removing the ETLS command + Revision 590.99 2002/02/03 15:21:48 error * Remove the ETLS command, it is no longer needed @@ -3289,3 +3292,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/serv_crypto.c b/citadel/serv_crypto.c index c9c970a28..317457de8 100644 --- a/citadel/serv_crypto.c +++ b/citadel/serv_crypto.c @@ -158,7 +158,7 @@ void client_write_ssl(char *buf, int nbytes) continue; } lprintf(9, "SSL_write got error %ld\n", errval); - endtls(1); + endtls(); client_write(&buf[nbytes - nremain], nremain); return; } @@ -210,7 +210,7 @@ int client_read_ssl(char *buf, int bytes, int timeout) continue; } lprintf(9, "SSL_read got error %ld\n", errval); - endtls(1); + endtls(); return (client_read_to(&buf[len], bytes - len, timeout)); } len += rlen;