Skip to content

Commit

Permalink
AEAD2022_PASSWORD_BASE64_ENGINE guarded by aead-cipher-2022
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Aug 26, 2023
1 parent b12b5cb commit 80e4910
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/shadowsocks/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const USER_KEY_BASE64_ENGINE: base64::engine::GeneralPurpose = base64::engine::G
.with_decode_padding_mode(base64::engine::DecodePaddingMode::Indifferent),
);

#[cfg(feature = "aead-cipher-2022")]
const AEAD2022_PASSWORD_BASE64_ENGINE: base64::engine::GeneralPurpose = base64::engine::GeneralPurpose::new(
&base64::alphabet::STANDARD,
base64::engine::GeneralPurposeConfig::new()
Expand Down

0 comments on commit 80e4910

Please sign in to comment.