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.
|
|
|
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 scripts/gen_certs.sh");
|
|
|
|
}
|
|
|
|
}
|