I think the fix is as simple as

- setting ssl_active_flag = 0; at the end of void disconnect()
function in cmds.c

- setting ssl_active_flag = 0; at the end of void lostpeer(int)
function in main.c

-  in ssl_init() function in ftp.c, before creating a SSL_new ssl_conn
free any old one:

if(ssl_con) {
    SSL_free(ssl_con);
    ssl_con = NULL;
}
ssl_con=(SSL *)SSL_new(ssl_ctx);



-- 
It's always best to be offended by things you haven't read. That way
you keep your mind uncluttered by things that might change it.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to