On Fri, 2016-11-04 at 14:43 +0200, Tanu Kaskinen wrote: > While making another change in rsa_encrypt(), I noticed that it had no > error handling. I decided to add some. I realized that I'm giving myself too much credit here. Actually it was Felipe who made the point that BN_bin2bn() can fail, and only after that I started to pay more attention to the openssl calls in rsa_encrypt(). If the other parts of the patch get acked, I'll modify the commit message before pushing. -- Tanu