]> 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)
commitadc48eaa4411ef785bb328ed1311cb707706a568
treefe48d4de1325bcb74f2aec6aa261facf69e26d9b
parent0252d7777299a1325f29a70f761c8250fe8c4b6b
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