Fix previous patch so it also works if not USE_SSL (mea culpa).

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2ae6075b59696f044d15c9f1b60a800407471b62
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-07-25T03:29:10Z
Releases: 9.1.0
Fix previous patch so it also works if not USE_SSL (mea culpa).

On balance, the need to cover this case changes my mind in favor of pushing
all error-message generation duties into the two fe-secure.c routines.
So do it that way.

Files

PathChange+/−
src/interfaces/libpq/fe-misc.c modified +12 −46
src/interfaces/libpq/fe-secure.c modified +158 −52