Hi, I've attached a patch that seems to be fixing it. However, I have no idea if this is the proper way to fix this. Someone care to comment on it?
When the library is initialised, it loads the compression methods. It fails, yet sets the method to use zlib_stateful_method. The stateful functions call the zlib functions thru some stubs. The stub would return Z_MEM_ERROR in case an the functions didn't get loaded. So this alone shouldn't really be a problem. The problem is however that DSO_load() did a call to ERR_PUT_error(), which got never cleared, and then much later, in an unrelated function, in this case in SSL_CTX_use_certificate_chain_file(), it calls ERR_peek_last_error(), and sees there was some error, so that function fails. An other solution would be to link to zlib instead, so we always have zlib support. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

