Skip to content
Commit 007fd140 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix RSA_X931_derive_ex



In the RSA_X931_derive_ex a call to BN_CTX_new is made. This can return
NULL on error. However the return value is not tested until *after* it is
derefed! Also at the top of the function a test is made to ensure that
|rsa| is not NULL. If it is we go to the "err" label. Unfortunately the
error handling code deref's rsa.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent d813f9eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment