Make anonymous field of CHUID struct public. Remove spurious -2 instances inside Transaction::transfer_data (the Response object is already eating the status words)

This commit is contained in:
Carl Wallace
2019-11-27 15:09:53 -05:00
parent d799e9c35b
commit 0f1ef2f519
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ const CHUID_TMPL: &[u8] = &[
/// Cardholder Unique Identifier (CHUID)
#[derive(Copy, Clone, Debug)]
pub struct CHUID([u8; YKPIV_CARDID_SIZE]);
pub struct CHUID(pub [u8; YKPIV_CARDID_SIZE]);
impl CHUID {
/// Generate a random Cardholder Unique Identifier (CHUID)