I set an SSL certificate by using SSL_CTX_use_certificate_ASN1 and SSL_CTX_use_PrivateKey. Then in certain cases I need to clear the certificate and go back to the default. Right now I destroy the context with SSL_CTX_free and create a new one. This causes a crash which looks like memory corruption. Is there something else I need to do? I'm using OpenSSL through POCO, so the memory corruption may be coming from that as well? Is there a way to clear the certificate and set it back to the default without creating a new context?
-------- Thomas Fili <tf...@agi.com> 3D Software Engineer Analytical Graphics, Inc. Phone: 610.981.8184 Fax: 610.981.8001 http://www.insight3d.com http://www.agi.com Get AGI software training right from your desk via new computer-based training: www.agi.com/training