[EMAIL PROTECTED] wrote:
> Index: mem_dbg.c
> ===================================================================
> if (mh == NULL) return;
> + /* Need to turn off memory checking when allocated BIOs ... especially
> + * as we're creating them at a time when we're trying to check we've not
> + * left anything un-free()'d!! */
> + MemCheck_off();
> if ((b=BIO_new(BIO_s_file())) == NULL)
> return;
> + MemCheck_on();
Um.
If BIO_new(BIO_s_file()) fails, you yust turned mem checking of...
better is:
MemCheck_off();
b=BIO_new(BIO_s_file());
MemCheck_on();
if (b == NULL)
return;
By
Goetz
--
Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
S/MIME Cryptographic Signature