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

Magnus Hagander <magnus@hagander.net>

Commit: 16c46d5d7a98c5478737a120cfd44bd358a54e9e
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-01-28T15:06:47Z
Releases: 8.4.0
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 +8 −8
src/interfaces/libpq/fe-secure.c modified +4 −4