On Tue, May 21, 2002, Romberg, Kathy wrote: > Folks, > > I've been looking at this function and have a question about this particular case. >The first line in the case is to do a file_free, which closes the file if b->shutdown >is set, yet shutdown is not set until the next line. Is this correct? Or does the >shutdown apply to the file that is about to be opened? > > Also, what are the conditions under which this function is called? > > Kathy Romberg
This is so the previous file (if any) is freed and the value of the BIO_NOCLOSE flag honoured. Check the BIO_s_file() manual page for more info. Steve. -- Dr. Stephen Henson [EMAIL PROTECTED] OpenSSL Project http://www.openssl.org/~steve/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
