Go over all OpenSSL return values and make sure we compare them

Magnus Hagander <magnus@hagander.net>

Commit: 53759b01ff8746917e6e185de8601154be14c03b
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-01-28T15:06:53Z
Releases: 8.1.16
Go over all OpenSSL return values and make sure we compare them
to the documented API value. The previous code got it right as
it's implemented, but accepted too much/too little compared to
the API documentation.

Per comment from Zdenek Kotala.

Files

PathChange+/−
src/backend/libpq/be-secure.c modified +7 −7
src/interfaces/libpq/fe-secure.c modified +3 −3