conflict fixes

This commit is contained in:
mohandasspat 2022-08-22 10:30:07 +05:30
parent 2f92169e48
commit 109540011a

View File

@ -165,7 +165,7 @@ impl Opt {
pub fn analytics(&self) -> bool {
!self.no_analytics
}
pub fn get_ssl_config(&self) -> anyhow::Result<Option<rustls::ServerConfig>> {
if let (Some(cert_path), Some(key_path)) = (&self.ssl_cert_path, &self.ssl_key_path) {
let config = rustls::ServerConfig::builder().with_safe_defaults();