tidb-incubator / tidis

A distributed transactional large-scale NoSQL database powered by TiKV
Apache License 2.0
444 stars 30 forks source link

Fix tls_key_file check #78

Closed Praying closed 1 year ago

Praying commented 1 year ago

!tls_cert_file.is_empty() in src/bin/server.rs is duplicated,remove it.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

yongman commented 1 year ago

@Praying @sunxiaoguang the tls_ca_cert_file can be empty if tls_auth_client is not enabled, so tls_ca_cert_file should not be checked here.