Skip to content

Commit

Permalink
use rustls-pki-types
Browse files Browse the repository at this point in the history
  • Loading branch information
getong committed Dec 5, 2023
1 parent 0184703 commit e0bfca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use rustls_pemfile::{certs, rsa_private_keys};
use tokio::io::{copy, sink, split, AsyncWriteExt};
use tokio::net::TcpListener;
use tokio_rustls::TlsAcceptor;
use webpki::types::{CertificateDer, PrivateKeyDer};
use pki_types::{CertificateDer, PrivateKeyDer};

/// Tokio Rustls server example
#[derive(FromArgs)]
Expand Down

0 comments on commit e0bfca2

Please sign in to comment.