Re: Unregister an index registered with RSA_get_ex_new_index

2012-08-17 Thread Felipe Blauth
2012/8/17 Dr. Stephen Henson > On Fri, Aug 17, 2012, Felipe Blauth wrote: > > > I see. I've digged a little bit more in the built-in engines and found > out > > that this is the way some of them are implemented. I guess there's no way > > to to the same for ECDSA_METHOD tough, since there's no fi

Re: Unregister an index registered with RSA_get_ex_new_index

2012-08-17 Thread Dr. Stephen Henson
On Fri, Aug 17, 2012, Felipe Blauth wrote: > I see. I've digged a little bit more in the built-in engines and found out > that this is the way some of them are implemented. I guess there's no way > to to the same for ECDSA_METHOD tough, since there's no finish function > pointer on that... > The

Re: Unregister an index registered with RSA_get_ex_new_index

2012-08-17 Thread Felipe Blauth
I see. I've digged a little bit more in the built-in engines and found out that this is the way some of them are implemented. I guess there's no way to to the same for ECDSA_METHOD tough, since there's no finish function pointer on that... By the way, I took a look at the gost engine, which uses E

Re: Unregister an index registered with RSA_get_ex_new_index

2012-08-16 Thread Dr. Stephen Henson
On Thu, Aug 16, 2012, Felipe Blauth wrote: > Dear all, > > Im writing an OpenSSL engine and I have some internal data to manage via > ex_data functions. > > What I've been doing so far is using RSA_get_ex_new_index(0, NULL, NULL, > NULL, ), at the initialization of the engine to register > a fre

Unregister an index registered with RSA_get_ex_new_index

2012-08-16 Thread Felipe Blauth
Dear all, Im writing an OpenSSL engine and I have some internal data to manage via ex_data functions. What I've been doing so far is using RSA_get_ex_new_index(0, NULL, NULL, NULL, ), at the initialization of the engine to register a free function for structures allocated when the method ENGINE_l