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

crypto: clear openssl error stack after en/decrypt #32248

Closed
wants to merge 1 commit into from

Commits on Mar 13, 2020

  1. crypto: clear openssl error stack after en/decrypt

    The publicEncrypt/privateDecrypt/etc. family of functions didn't clear
    OpenSSL's error stack on early return.
    
    Notably, trying to use an encrypted key with the wrong passphrase left
    an error on the stack that made subsequent encrypt or decrypt operations
    fail, even with an unencrypted key.
    
    Fixes: nodejs#32240
    bnoordhuis committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    31aceae View commit details
    Browse the repository at this point in the history