Add more sanity checks in contrib/sslinfo

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

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