Skip to content

Commit f149e5f

Browse files
committed
fix: export AEAD_NULL_TAG with disable-encryption feature
neqo needs it
1 parent 0390ce2 commit f149e5f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nss-rs"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
authors = ["Martin Thomson <mt@lowentropy.net>", "Andy Leiserson <aleiserson@mozilla.com>", "John M. Schanck <jschanck@mozilla.com>", "Benjamin Beurdouche <beurdouche@mozilla.com>", "Anna Weine <anna.weine@mozilla.com>"]
55
categories = ["network-programming", "web-programming"]
66
keywords = ["nss", "crypto", "mozilla", "firefox"]

src/aead.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
use std::{os::raw::c_int, ptr::null_mut};
88

99
pub use recprot::RecordProtection;
10+
#[cfg(feature = "disable-encryption")]
11+
pub use recprot::AEAD_NULL_TAG;
1012

1113
use crate::{
1214
SECItemBorrowed, SymKey,

0 commit comments

Comments
 (0)