Skip to content

Commit 591e75a

Browse files
committed
delete commented code
1 parent fb02844 commit 591e75a

File tree

1 file changed

+0
-5
lines changed
  • batcher/aligned-batcher/src

1 file changed

+0
-5
lines changed

batcher/aligned-batcher/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,6 @@ impl Batcher {
269269
cert: PathBuf,
270270
key: PathBuf,
271271
) -> Result<(), BatcherError> {
272-
// let mut acceptor_builder = SslAcceptor::mozilla_intermediate_v5(SslMethod::tls()).unwrap();
273-
// acceptor_builder.set_private_key_file(key, SslFiletype::PEM).unwrap();
274-
// acceptor_builder.set_certificate_chain_file(cert).unwrap();
275-
// acceptor_builder.check_private_key().unwrap();
276-
// let acceptor = Arc::new(acceptor_builder.build());
277272
// Reference: https://github.com/rustls/tokio-rustls/blob/main/examples/server.rs
278273
let cert = vec![CertificateDer::from_pem_file(cert)
279274
.map_err(|e| BatcherError::TlsError(format!("{e}")))?];

0 commit comments

Comments
 (0)