Looks to me like X509_EXTENSION_free() doesn't do it's job properly.

[[EMAIL PROTECTED] - Wed Jun  5 13:28:48 2002]:

> Ok, then when are those datas supposed to be freed ?
> Here is the code:
> 
> X509V3_CTX ctx;
> X509V3_set_ctx_test(&ctx);
> X509_EXTENSION *ext;
> char * FieldName="authorityInfoAccess";
> char *
> FieldValue="caIssuers;URI:http://www.openssl.org/root.crt";
> 
> if (!(ext = X509V3_EXT_nconf(NULL, &ctx, FieldName,
> FieldValue)))
> {
>       return false;
> }
> X509_EXTENSION_free(ext);
> 
> I don't see what I forget to free ?

-- 
Richard Levitte
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to