message: SslMethod::tls() -> SslMethod::tls_client()
diff: @@ -23,7 +23,7 @@ impl TryFrom<TlsConfig> for MakeTlsConnector {
  // https://github.com/sfackler/rust-postgres/pull/774
  // We only support server side authentication (`sslrootcert`) for now
  fn try_from(tls_config: TlsConfig) -> Result<Self, Self::Error> {
  - let mut builder = SslConnector::builder(SslMethod::tls())?;
  + let mut builder = SslConnector::builder(SslMethod::tls_client())?;
  let ssl_mode = tls_config.pg_config.get_ssl_mode();
  let (verify_ca, verify_hostname) = match ssl_mode {
  SslMode::Disable | SslMode::Prefer => (false, false),
  @@ -112,8 +112,8 @@ pub fn rewrite_tls_args(
  let tls_config = TlsConfig {
  pg_config: pg_config.clone(),
  - client_cert,
  - root_cert,
  + client_cert: client_cert,
  + root_cert: root_cert,
  };
  let tls_connector = match pg_config.get_ssl_mode() {
  