diff --git a/ccan/base64/base64.c b/ccan/base64/base64.c index 5e75dd71c..61cd5394a 100644 --- a/ccan/base64/base64.c +++ b/ccan/base64/base64.c @@ -213,42 +213,38 @@ ssize_t base64_decode_using_maps(const base64_maps_t *maps, static const base64_maps_t base64_maps_rfc4648 = { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", - "\xff\xff\xff\xff\xff" /* 0 */ \ - "\xff\xff\xff\xff\xff" /* 5 */ \ - "\xff\xff\xff\xff\xff" /* 10 */ \ - "\xff\xff\xff\xff\xff" /* 15 */ \ - "\xff\xff\xff\xff\xff" /* 20 */ \ - "\xff\xff\xff\xff\xff" /* 25 */ \ - "\xff\xff\xff\xff\xff" /* 30 */ \ - "\xff\xff\xff\xff\xff" /* 35 */ \ - "\xff\xff\xff\x3e\xff" /* 40 */ \ - "\xff\xff\x3f\x34\x35" /* 45 */ \ - "\x36\x37\x38\x39\x3a" /* 50 */ \ - "\x3b\x3c\x3d\xff\xff" /* 55 */ \ - "\xff\xff\xff\xff\xff" /* 60 */ \ - "\x00\x01\x02\x03\x04" /* 65 A */ \ - "\x05\x06\x07\x08\x09" /* 70 */ \ - "\x0a\x0b\x0c\x0d\x0e" /* 75 */ \ - "\x0f\x10\x11\x12\x13" /* 80 */ \ - "\x14\x15\x16\x17\x18" /* 85 */ \ - "\x19\xff\xff\xff\xff" /* 90 */ \ - "\xff\xff\x1a\x1b\x1c" /* 95 */ \ - "\x1d\x1e\x1f\x20\x21" /* 100 */ \ - "\x22\x23\x24\x25\x26" /* 105 */ \ - "\x27\x28\x29\x2a\x2b" /* 110 */ \ - "\x2c\x2d\x2e\x2f\x30" /* 115 */ \ - "\x31\x32\x33\xff\xff" /* 120 */ \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" /* 125 */ \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" /* 155 */ \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" /* 185 */ \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" /* 215 */ \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ - "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" /* 245 */ + /* 0 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 10 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 20 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 30 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 40 */ "\xff\xff\xff\x3e\xff" \ + /* 45 */ "\xff\xff\x3f\x34\x35" \ + /* 50 */ "\x36\x37\x38\x39\x3a" \ + /* 55 */ "\x3b\x3c\x3d\xff\xff" \ + /* 60 */ "\xff\xff\xff\xff\xff" \ + /* 65 */ "\x00\x01\x02\x03\x04" /* A */ \ + /* 70 */ "\x05\x06\x07\x08\x09" \ + /* 75 */ "\x0a\x0b\x0c\x0d\x0e" \ + /* 80 */ "\x0f\x10\x11\x12\x13" \ + /* 85 */ "\x14\x15\x16\x17\x18" \ + /* 90 */ "\x19\xff\xff\xff\xff" \ + /* 95 */ "\xff\xff\x1a\x1b\x1c" \ + /* 100 */ "\x1d\x1e\x1f\x20\x21" \ + /* 105 */ "\x22\x23\x24\x25\x26" \ + /* 110 */ "\x27\x28\x29\x2a\x2b" \ + /* 115 */ "\x2c\x2d\x2e\x2f\x30" \ + /* 120 */ "\x31\x32\x33\xff\xff" \ + /* 125 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 135 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 145 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 155 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 165 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 175 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 185 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 195 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 205 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 215 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 225 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 235 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" \ + /* 245 */ "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" };