Add more sanity checks in contrib/sslinfo

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 73d2d2e6a1721f94e4d01d7502bf99452008170e
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2015-09-07T22:18:29Z
Releases: 9.5.0
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

Files

PathChange+/−
contrib/sslinfo/sslinfo.c modified +22 −3