use crate::crypto::gen_key::gen_key;
pub use openssl::pkcs12::Pkcs12;
pub use openssl::ssl::{SslAcceptorBuilder, SslMethod, SslStream};
use std::path::Path;
pub fn setup_tls_server() {
let key_path = Path::new("./.keys");
if !key_path.exists() {
gen_key();
}
}