tfa: u2f: bytes_as_base64{,url} weren't meant to be public

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-10-18 14:31:04 +02:00
parent 48ef839043
commit 8398620669

View File

@ -557,7 +557,7 @@ mod test {
}
}
pub mod bytes_as_base64 {
mod bytes_as_base64 {
use serde::{Deserialize, Deserializer, Serializer};
pub fn serialize<S: Serializer>(data: &[u8], serializer: S) -> Result<S::Ok, S::Error> {
@ -572,7 +572,7 @@ pub mod bytes_as_base64 {
}
}
pub mod bytes_as_base64url_nopad {
mod bytes_as_base64url_nopad {
use serde::{Deserialize, Deserializer, Serializer};
pub fn serialize<S: Serializer>(data: &[u8], serializer: S) -> Result<S::Ok, S::Error> {