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

Magnus Hagander <magnus@hagander.net>

Commit: 5ecd9dc75a3dd9c2154be94250361878896fc43c
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-01-28T15:06:51Z
Releases: 8.0.20
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