stun: Rename a symbol to avoid a naming clash with OpenSSL
authorCurieux Tres <trescurieux@yahoo.fr>
Mon, 27 Oct 2014 11:32:17 +0000 (11:32 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 27 Oct 2014 11:32:17 +0000 (11:32 +0000)
commit3bc28d43a5189e561087f9340467ef2bd314c7fb
treefe725cb5f10758ed311be40e8587765a99a2f9d0
parent705ad1df7bf2faac29db9cd49a3248f871d9e149
stun: Rename a symbol to avoid a naming clash with OpenSSL

The symbol is not exported, but nevertheless leaks in the static version
of libnice, due to limitations on symbol visibilities with static
libraries. OpenSSL has a symbol named RAND_bytes(), which ours clashes
with if the two are linked together statically.

Avoid this by prefixing ours with ‘nice_’.
stun/rand.c
stun/rand.h
stun/stunhmac.c