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

Magnus Hagander <magnus@hagander.net>

Commit: d8b324ebd898c9555a3503f907fc3bbe4ffdd3d8
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-01-28T15:06:48Z
Releases: 7.4.24
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 +5 −5
src/interfaces/libpq/fe-secure.c modified +3 −3