mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The BinGuestSecret type provides no benefits. The public GuestSecret struct can handle everything. Therefore, move the two functions from bin to the non-bin variant. While at it, use a struct to define the binary structure instead of copy numbers to some positions in a Vec. This simplifies the addition of further secret types. Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Julian Ruess <julianr@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>