Skip to content

Commit 8b42f6b

Browse files
committed
.
1 parent 56d5580 commit 8b42f6b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ debug/
22
target/
33
**/*.rs.bk
44
*.pdb
5-
.idea/
5+
.idea/

src/aead/chacha20.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ use rustls::{ConnectionTrafficSecrets, ContentType, ProtocolVersion};
1515
#[cfg(feature = "tls12")]
1616
use rustls::crypto::cipher::{KeyBlockShape, Tls12AeadAlgorithm, NONCE_LEN};
1717

18-
1918
#[cfg(feature = "chacha20poly1305")]
2019
pub struct Chacha20Poly1305;
2120

22-
2321
#[cfg(feature = "chacha20poly1305")]
2422
impl Tls13AeadAlgorithm for Chacha20Poly1305 {
2523
fn encrypter(&self, key: AeadKey, iv: Iv) -> Box<dyn MessageEncrypter> {

0 commit comments

Comments
 (0)