diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-10-14 12:08:57 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-10-14 13:14:52 +0900 |
commit | 0c187b37cf35b5b37efce69add5188f233428de4 (patch) | |
tree | 92642ecf64665812b6efac8b825d1f4cf6faa0b1 /ext/openssl/ossl_ssl_session.c | |
parent | 0be7f41c647f5754313b60b370f3804c8ee453e5 (diff) | |
download | ruby-openssl-0c187b37cf35b5b37efce69add5188f233428de4.tar.gz |
pkey: add missing return value check in PKey#{sign,verify}
We are currently not checking the return value of EVP_{Sign,Verify}*()
functions, but of course, this is a bad habit. So do check. Calls for
EVP_{Sign,Verify}Init() are replaced by *_ex() functions as they does
not return error but just ignore.
Diffstat (limited to 'ext/openssl/ossl_ssl_session.c')
0 files changed, 0 insertions, 0 deletions