• M
    Fix RSA_X931_derive_ex · 007fd140
    Matt Caswell 提交于
    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: NRich Salz <rsalz@openssl.org>
    007fd140
rsa_x931g.c 7.4 KB