On Mon, Apr 12, 2010, Kenneth Goldman wrote: > > I have some fairly basic code that is now segfaulting reliably with 1.0.0. > It has worked for years with all 0.9.8 releases. > > 1 - Did something change that I should know about? Before I compile > openssl for debug and step through it, is there something I should look > for? > > 2 - The meta-question: Is there an 0.9.8 -> 1.0.0 porting guide. I'm > debugging, but it looks like a long chore. > > RSA *rsa; > EVP_PKEY pkey; > ... > (software that constructs the RSA key structure) > ... > OpenSSL_add_all_algorithms(); > EVP_PKEY_assign_RSA(&pkey, rsa); >
Applications shouldn't reference EVP_PKEY structures like that. They should be pointers allocated with EVP_PKEY_new() and freed with EVP_PKEY_free(). Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org