Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double free on decrypt ek rsa padding failure #93

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jun 5, 2019

  1. do not set jwe->cek_len of size_t to -1

    since it will break _cjose_release_cek
    
    Signed-off-by: Hans Zandbelt <[email protected]>
    zandbelt committed Jun 5, 2019
    Configuration menu
    Copy the full SHA
    5971997 View commit details
    Browse the repository at this point in the history
  2. avoid calling RSA_private_decrypt with only a public key

    make sure a private key has been set by the caller of
    _cjose_jwe_decrypt_ek_rsa_padding
    
    Signed-off-by: Hans Zandbelt <[email protected]>
    zandbelt committed Jun 5, 2019
    Configuration menu
    Copy the full SHA
    dc14728 View commit details
    Browse the repository at this point in the history