Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soter: make sure we have the RSA private key before trying to decrypt…
… data Some OpenSSL versions do not handle gracefully, when you try to do RSA decryption with a public key (no private part in the RSA structure) and just crash the whole process. So we add an explicit check we have the private part before attempting the decryption.
- Loading branch information