Re: [openssl-users] How to make EVP functions returns false

2016-08-30 Thread Matt Caswell
On 30/08/16 10:39, Jakob Bohm wrote: > Also note that on your list of functions, the functions whose > names do not contain "EVP" are not EVP calls, but traditional > OpenSSL/SSLeay crypto calls that are probably discontinued in > OpenSSL 1.1.0. No, all of those non-EVP calls are still available

Re: [openssl-users] How to make EVP functions returns false

2016-08-30 Thread Jakob Bohm
On 27/08/2016 20:32, Sugumar wrote: Can any one help me on this? Thanks. Some of the calls you mention can be made to fail if you can tell valgrind to simulate an out-of-memory (malloc fail) during the call. Some of the others fail only for invalid parameters or only under extremely rare condit

Re: [openssl-users] How to make EVP functions returns false

2016-08-27 Thread Sugumar
Can any one help me on this? Thanks. -- View this message in context: http://openssl.6102.n7.nabble.com/How-to-make-EVP-functions-returns-false-tp67775p68091.html Sent from the OpenSSL - User mailing list archive at Nabble.com. -- openssl-users mailing list To unsubscribe: https://mta.openssl.

[openssl-users] How to make EVP functions returns false

2016-08-09 Thread Sugumar
Hi, I am using EVP encryption and decryption and rsa key generation api from openssl for my project. I need to write unit tests for my code including failure conditions also. Could you please help me to make below functions returns false without getting valgrind error. 1. EVP_EncryptInit_ex() & EVP