wolfssl
wolfssl copied to clipboard
Add wolfSSL_PEM_read_RSAPrivateKey to OpenSSL compatible API
Description
This PR adds wolfSSL_PEM_read_RSAPrivateKey() to the OpenSSL compatible API, and adds the unit-test code to tests/api.c .
wolfSSL_PEM_read_RSAPrivateKey() was added from line 1782 to line 1822. #ifdef is on line 1346. #endif is on line 2062.
Testing
Built example app using wolfSSL_PEM_read_RSAPrivateKey() and ran it. Checked if wolfSSL_PEM_read_RSAPrivateKey() returns RSA structure and if RSA_print_fp() can print the RSA structure.
Checklist
- [x] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation
Can one of the wolfSSL admins verify this patch?
OK to test . @satoshiyamaguchi is a contractor.
@dgarske I fixed the cause of the error. Thank you.
Retest this please jenkins
I fixed the part that seemed to be the cause of the error.
Contributor agreement filed and approved.