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

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

Commit: 16976b026a80567695e68a52592a73a75dc391ed
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-07-25T03:29:21Z
Releases: 8.4.9
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 +161 −51