mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-03 04:57:37 +03:00
Properly parse the -I and -i options (key file and cert file)
This commit is contained in:
parent
dbe14da43e
commit
c3f724118c
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ pub fn parse_opts(globals: &mut Globals) {
|
|||
|
||||
#[cfg(feature = "tls")]
|
||||
{
|
||||
globals.tls_cert_path = matches.value_of("tls_cert_key_path").map(PathBuf::from);
|
||||
globals.tls_cert_path = matches.value_of("tls_cert_path").map(PathBuf::from);
|
||||
globals.tls_cert_key_path = matches
|
||||
.value_of("tls_cert_key_path")
|
||||
.map(PathBuf::from)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue