]> 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)
commit8582cf1eb49d9b857f2397aa924e76ed5484cf43
treeedb9c578135a28a03ed9d0384d22cc5ddc7866bb
parent0198a8d82a16ccffefbc692278eccba85f41c381
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