Commit 39cb3e11 authored by Alex Blasche's avatar Alex Blasche
Browse files

Ensure the passkey and pincode for pairing are random


The previous AND operation with 1mio was not random (especially when
the hex value was used).

Task-number: QTBUG-59392
Change-Id: Id9ba5432c21fa41a9e5af9800a8633ce4f02fba4
Reviewed-by: default avatarTuomas Vaarala <tuomas.vaarala@qt.io>
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
Reviewed-by: default avatarTimur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: default avatarAlex Blasche <alexander.blasche@qt.io>
parent 39ddda71
No related merge requests found
Showing with 2 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment