diff options
author | Youness Alaoui <kakaroto@kakaroto.(none)> | 2008-09-09 12:36:19 -0400 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.(none)> | 2008-09-09 12:36:19 -0400 |
commit | c6953e81e10dfc9244bc2c56e9eee76b52ba2a66 (patch) | |
tree | 31ae300c5705e050fbc6910f0d5a79eef48024cb /stun/stunhmac.c | |
parent | 97beec8d2e55dcae4403adcbbd6a1073f7181625 (diff) | |
download | libnice-c6953e81e10dfc9244bc2c56e9eee76b52ba2a66.tar.gz |
Fix the generation of the transaction id
Diffstat (limited to 'stun/stunhmac.c')
-rw-r--r-- | stun/stunhmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/stunhmac.c b/stun/stunhmac.c index 947df5c..aa49c26 100644 --- a/stun/stunhmac.c +++ b/stun/stunhmac.c @@ -121,5 +121,5 @@ void stun_hash_creds (const uint8_t *realm, size_t realm_len, void stun_make_transid (stun_transid_t id) { - RAND_bytes (id, sizeof (id)); + RAND_bytes (id, 16); } |