Add more sanity checks in contrib/sslinfo
authorAlvaro Herrera <[email protected]>
Mon, 7 Sep 2015 22:18:29 +0000 (19:18 -0300)
committerAlvaro Herrera <[email protected]>
Mon, 7 Sep 2015 22:18:29 +0000 (19:18 -0300)
commit3660778bccb23f233596a1ea140d87e7213847d9
tree2105f9d3a03adc8581510bea7d3b048eeec4c349
parentaf9d9e59c2d644159b906a278cbead0d0049ecd1
Add more sanity checks in contrib/sslinfo

We were missing a few return checks on OpenSSL calls.  Should be pretty
harmless, since we haven't seen any user reports about problems, and
this is not a high-traffic module anyway; still, a bug is a bug, so
backpatch this all the way back to 9.0.

Author: Michael Paquier, while reviewing another sslinfo patch
contrib/sslinfo/sslinfo.c