Refactor sendAuthRequest.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 8d3b9cce81c173da55b9500353e5d773f8449a66
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2016-08-18T10:25:31Z
Releases: 10.0
Refactor sendAuthRequest.

This way sendAuthRequest doesn't need to know the details of all the
different authentication methods. This is in preparation for adding SCRAM
authentication, which will add yet another authentication request message
type, with different payload.

Reviewed-By: Michael Paquier
Discussion: <CAB7nPqQvO4sxLFeS9D+NM3wpy08ieZdAj_6e117MQHZAfxBFsg@mail.gmail.com>

Files

PathChange+/−
src/backend/libpq/auth.c modified +18 −34