* fixed a silly oversight in serv_crypto.c when removing the ETLS command
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 3 Feb 2002 15:29:03 +0000 (15:29 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 3 Feb 2002 15:29:03 +0000 (15:29 +0000)
citadel/ChangeLog
citadel/serv_crypto.c

index 7f3ab77eb1d8780675b0ccbecb2da50085dd0bbf..53117e2733b8cb18ea66d02d6db2e471756c33e7 100644 (file)
@@ -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 <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index c9c970a28ae9df35ecea143cc8990178fcd66b81..317457de81b4e928796d4bc3e572acaba020f26c 100644 (file)
@@ -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;