Add more sanity checks in contrib/sslinfo
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 7 Sep 2015 22:18:29 +0000 (19:18 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 7 Sep 2015 22:18:29 +0000 (19:18 -0300)
commit28120a06952369e12bc9405e5ffb9e15babc9795
tree7ada549caf646a849367520a15f395c3ae79174a
parentfde40e53f3b188f974f87aa3608210ccb1232fb8
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