You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
224 B
9 lines
224 B
3 years ago
|
use std::path::PathBuf;
|
||
|
|
||
|
fn main() {
|
||
|
let server_cert = PathBuf::from("../../certs/ca.crt");
|
||
|
if !server_cert.exists() {
|
||
|
panic!("CA certificate doesn't exist. Create it first with certs/gen_certs.sh");
|
||
|
}
|
||
|
}
|