diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-02-27 14:37:41 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-27 14:37:41 -0800 |
commit | d1c6a543c7444eceafdfd49d4f32beaaa5176b89 (patch) | |
tree | ed4054c7b2ee2ccad21d1c9665094fc49e63b899 /emulator/smp.c | |
parent | 8fbe1120206d2e81b76e125baa19e04022d41111 (diff) | |
download | bluez-d1c6a543c7444eceafdfd49d4f32beaaa5176b89.tar.gz |
monitor: Use 64-bit unsigned integer for random number
Diffstat (limited to 'emulator/smp.c')
-rw-r--r-- | emulator/smp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/emulator/smp.c b/emulator/smp.c index afb796c69..32c82e556 100644 --- a/emulator/smp.c +++ b/emulator/smp.c @@ -201,8 +201,7 @@ void smp_data(void *conn_data, const void *data, uint16_t len) } } -int smp_get_ltk(void *smp_data, const uint8_t *rand, uint16_t div, - uint8_t *ltk) +int smp_get_ltk(void *smp_data, uint64_t rand, uint16_t ediv, uint8_t *ltk) { struct smp_conn *conn = smp_data; static const uint8_t no_ltk[16] = { 0 }; |