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

Magnus Hagander <magnus@hagander.net>

Commit: 20632d57f1b3476668e1bf6a4667b9533949d9f4
Author: Magnus Hagander <magnus@hagander.net>
Date: 2009-01-28T15:06:57Z
Releases: 8.3.6
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