Only use one challenge value in adobe auth
commitf8fcf64f4f80c070f8c93e40249c43fe6299ffe4
authorMartin Storsjo <martin@martin.st>
Sun, 30 Dec 2012 12:03:58 +0000 (30 14:03 +0200)
committerMartin Storsjo <martin@martin.st>
Sun, 30 Dec 2012 12:06:52 +0000 (30 14:06 +0200)
tree4dd25d2734baf1c6b7b5776d35472bdd814c7b89
parent38d3aeaeef99182ac2daaf0e56145887f0a51cd4
Only use one challenge value in adobe auth

Some servers (akamai) only include a 'challenge' parameter, no
'opaque' parameter, while others (wowza) include both 'opaque'
and 'challenge'. If 'opaque' is provided, it should be used here,
otherwise 'challenge', but never both.

After this patch, adobe auth works against both wowza and akamai
servers.
librtmp/rtmp.c