message: fix macos build break by adding X509 parameter to the platform_cfg_client_builder function.
diff: @@ -11,8 +11,9 @@ mod incluster_config;
  mod kube_config;
  mod utils;
  -use base64;
  use crate::{Error, Result};
  +use base64;
  +use openssl::x509::X509;
  use reqwest::{header, Certificate, Client, ClientBuilder, Identity};
  use self::kube_config::KubeConfigLoader;
  @@ -66,9 +67,8 @@ pub async fn load_kube_config_with(options: ConfigOptions) -> Result<Configurati
  }
  #[cfg(target_os = "macos")]
  -fn platform_cfg_client_builder(client_builder: ClientBuilder) -> ClientBuilder {
  +fn platform_cfg_client_builder(client_builder: ClientBuilder, ca: &X509) -> ClientBuilder {
  if ca
  - .as_ref()
  .not_before()
  .diff(ca.not_after())
  .map(|d| d.days.abs() > 824)
  @@ -81,7 +81,7 @@ fn platform_cfg_client_builder(client_builder: ClientBuilder) -> ClientBuilder {
  }
  #[cfg(not(target_os = "macos"))]
  -fn platform_cfg_client_builder(client_builder: ClientBuilder) -> ClientBuilder {
  +fn platform_cfg_client_builder(client_builder: ClientBuilder, _: &X509) -> ClientBuilder {
  client_builder
  }
  @@ -117,7 +117,7 @@ pub async fn create_client_builder(options: ConfigOptions) -> Result<(ClientBuil
  let cert = Certificate::from_der(&ca.to_der().map_err(|e| Error::SslError(format!("{}", e)))?)
  .map_err(Error::ReqwestError)?;
  client_builder = client_builder.add_root_certificate(cert);
  - client_builder = platform_cfg_client_builder(client_builder);
  + client_builder = platform_cfg_client_builder(client_builder, &ca);
  }
  }
  match loader.p12(" ") {
  