From bcd9265d725f7e09746eb0716c40e9cdb2e95cb7 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Thu, 20 Mar 2014 11:43:00 -0300 Subject: [PATCH] unit: Use lower-case for 128-bit UUIDs According to ISO/IEC 9834-8: "It is recommended that the hexadecimal representation used in all human-readable formats be restricted to lower-case letters. Software processing this representation is, however, required to accept both upper and lower case letters as specified in 6.5.2." --- unit/test-uuid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit/test-uuid.c b/unit/test-uuid.c index 79ab3e666..225a7b50c 100644 --- a/unit/test-uuid.c +++ b/unit/test-uuid.c @@ -46,10 +46,10 @@ static unsigned char uuid_base_binary[] = { 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb }; static struct uuid_test_data uuid_base = { - .str = "00000000-0000-1000-8000-00805F9B34FB", + .str = "00000000-0000-1000-8000-00805f9b34fb", .binary = uuid_base_binary, .type = BT_UUID128, - .str128 = "00000000-0000-1000-8000-00805F9B34FB", + .str128 = "00000000-0000-1000-8000-00805f9b34fb", .binary128 = uuid_base_binary, }; -- 2.47.3