diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-10-22 18:14:14 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-10-22 18:14:14 +0000 |
commit | 68cbd3fc410d1e50fe4e14860eade87ab34dd08b (patch) | |
tree | 8cbdf993e158da84fc1e5f1ff7dffc54dc22d4a4 /hcid/dbus-security.c | |
parent | efeb7aac353c1c35be86275690f3f8272a91a7d7 (diff) |
In case of no confirmation send a negative PIN code reply
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r-- | hcid/dbus-security.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c index 19fb3ad1..aff0a3f0 100644 --- a/hcid/dbus-security.c +++ b/hcid/dbus-security.c @@ -684,6 +684,9 @@ static void confirm_agent_reply(DBusPendingCall *call, void *user_data) goto fail; } + if (result == FALSE) + goto fail; + len = strlen(req->pin); set_pin_length(&req->sba, len); |