What is the easiest way of making a deep copy of OCSP_RESPONSE. This is what I've thought of:
bio = BIO_new(BIO_s_mem()) i2d_OCSP_RESPONSE_bio(bio, (OCSP_RESPONSE*)response1) response2 = OCSP_RESPONSE_new()) d2i_OCSP_RESPONSE_bio(bio, (OCSP_RESPONSE**)&response2) Is there a better solution ? ----------------------------- Slon.bg ™ Симпатичният магазин за книги, DVD, игри и музика http://www.slon.bg ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]