Skip to content

Commit

Permalink
make union packed in pass_slot_t
Browse files Browse the repository at this point in the history
  • Loading branch information
dangfan committed Jan 9, 2024
1 parent 578c5dd commit 3859c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applets/pass/pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef struct {
union {
uint8_t password[33]; // 1-byte length + at most 32-byte content
uint32_t oath_offset;
};
} __packed;
uint8_t with_enter;
} __packed pass_slot_t;

Expand Down

0 comments on commit 3859c77

Please sign in to comment.