From 12ce6070e047a00f633d88e7c72c22175e6fcc19 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Wed, 10 May 2023 14:12:29 -0400 Subject: [PATCH] ctap2-proto: Make Sha256Hash inner array public --- crates/ctap2-proto/src/authenticator/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ctap2-proto/src/authenticator/mod.rs b/crates/ctap2-proto/src/authenticator/mod.rs index 8e7b212..b2494e4 100644 --- a/crates/ctap2-proto/src/authenticator/mod.rs +++ b/crates/ctap2-proto/src/authenticator/mod.rs @@ -12,7 +12,7 @@ pub mod reset; pub mod selection; /// SHA 256 hash values are 32 bytes long. -pub type Sha256Hash = [u8; 32]; +pub struct Sha256Hash(pub [u8; 32]); /// > The authenticator data structure encodes contextual bindings made by the /// > authenticator. These bindings are controlled by the authenticator itself,