On 4/26/16, 13:56 , "openssl-dev on behalf of Douglas E Engert" <openssl-dev-boun...@openssl.org on behalf of deeng...@gmail.com> wrote:
>... >RSA_get0_key(rsa, &my_n, &my_e, NULL); /* note this is a GET0 */ > >/* my_n now points to the BIGNUM as does rsa->n */ >/* my_e now points to the BIGNUM as does rsa->e */ > >/* other stuff done, such as calculating d */ > >RSA_set0_key(rsa, my_n, my_e, d); > >/* RSA_set0_key does not check if my_n == rsa->n >It frees rsa->n and replaces it with my_n which is is pointing at the >freed location */ After all the discussion that occurred here, I think that the problem Doug is pointing at should be fixed, and the solution he recommends should be put in.
smime.p7s
Description: S/MIME cryptographic signature
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev