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 18b1120
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 rustls_pki_types::{CertificateDer, PrivateKeyDer};

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

0 comments on commit 18b1120

Please sign in to comment.