Please sign in to comment.
soter: make sure we have the RSA private key before trying to decrypt…
… data (#334) 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...
Showing with 14 additions and 1 deletion.