Giuseppe Scrivano 764f071909 gdbusauth: empty DATA does not need a trailing space
This is an interoperability fix. If the line is exactly "DATA\r\n",
the reference implementation of D-Bus treats this as equivalent to
"DATA \r\n", meaning the data block consists of zero hex-encoded bytes.
In practice, D-Bus clients send empty data blocks as "DATA\r\n", and
in fact sd-bus only accepts that, rejecting "DATA \r\n".

[Originally part of a larger commit; commit message added by smcv]

Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
Co-authored-by: Simon McVittie <smcv@collabora.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-07-18 16:11:20 +01:00
..
2022-06-17 08:49:03 -05:00
2022-06-23 10:46:45 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 14:01:43 +00:00
2022-06-09 17:08:42 +02:00
2022-06-23 10:46:45 +01:00
2022-06-23 10:46:45 +01:00