Skip to content

Commit 080bbe8

Browse files
authored
fix: export AEAD_NULL_TAG with disable-encryption feature (#55)
1 parent 0390ce2 commit 080bbe8

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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
@@ -6,6 +6,8 @@
66

77
use std::{os::raw::c_int, ptr::null_mut};
88

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

1113
use crate::{

0 commit comments

Comments
 (0)