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

Store EVP key instead of RSA in key.reference #8

Closed
gtaban opened this issue Dec 20, 2017 · 1 comment
Closed

Store EVP key instead of RSA in key.reference #8

gtaban opened this issue Dec 20, 2017 · 1 comment
Assignees

Comments

@gtaban
Copy link
Contributor

gtaban commented Dec 20, 2017

It is recommended that we use EVP functions instead of RSA and EVP functions take in EVP keys. Right now I am converting the RSA key into EVP every time I want to use to use it. This is inefficient.

                // convert RSA key to EVP
                let  evp_key = EVP_PKEY_new()
                EVP_PKEY_set1_RSA(evp_key, key.reference)
@Andrew-Lees11
Copy link
Contributor

Closing since this this was merged in 1.0.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants