Commit c6953e81 authored by Youness Alaoui's avatar Youness Alaoui

Fix the generation of the transaction id

parent 97beec8d
...@@ -121,5 +121,5 @@ void stun_hash_creds (const uint8_t *realm, size_t realm_len, ...@@ -121,5 +121,5 @@ void stun_hash_creds (const uint8_t *realm, size_t realm_len,
void stun_make_transid (stun_transid_t id) void stun_make_transid (stun_transid_t id)
{ {
RAND_bytes (id, sizeof (id)); RAND_bytes (id, 16);
} }
Markdown is supported
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