]> granicus.if.org Git - postgresql/commit
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)
commit73d2d2e6a1721f94e4d01d7502bf99452008170e
tree1d05041ea5f372e39eb186cb6ad7ce6d9a03b18e
parenta1242402854178eded9bd4f2b8cd8ef46d1e9864
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