duplicate RSA struct

2005-10-03 Thread Stefan Vatev
Hello guys, I'd like to know what's the best way to duplicate the RSA struct. I want something like X509_dup. The only way that come to my mind is to rsa = RSA_new() and then for each member of rsa to BN_new and BN_dup Any ideas will be highly appreciated. -

Re: duplicate RSA struct

2005-10-03 Thread Nils Larsch
Stefan Vatev wrote: Hello guys, I'd like to know what's the best way to duplicate the RSA struct. I want something like X509_dup. The only way that come to my mind is to rsa = RSA_new() and then for each member of rsa to BN_new and BN_dup Any ideas will be highly appreciated. what about: RSA