Remove now-unused _dbus_validate_signature()
authorSimon McVittie <smcv@collabora.com>
Mon, 3 Jul 2017 18:29:31 +0000 (19:29 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 4 Jul 2017 16:07:32 +0000 (17:07 +0100)
commit2135910d316513efdde69ee3e506a70626b467a3
tree99794cb5fc35358345a807312f13c0d5e91dbdf8
parent3b36567e593f0c8517703dcaff0f2a1ad6e799a5
Remove now-unused _dbus_validate_signature()

All callers should use _dbus_validate_signature_with_reason() directly.
The only remaining callers were this function's own tests.

As a side benefit, this commit removes a TODO pointing out that this
function did not follow normal DBusString conventions, by considering
a length outside the bounds of the DBusString to be an ordinary
lack of validity rather than a fatal programming error.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101568
dbus/dbus-marshal-validate-util.c
dbus/dbus-marshal-validate.c
dbus/dbus-marshal-validate.h