forked from Proxmox/proxmox
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:
parent
48ef839043
commit
8398620669
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user