[rtmpdump] GnuTLS API changed for gnutls_calc_dh_secret()
martin at martin.st
Fri Jul 19 14:49:09 CEST 2013
On Mon, 15 Jul 2013, Jari Turkia wrote:
> Since GnuTLS does not have an include-file in the /usr/include/-directory,
It sure does have an include file
> there is a extern MP_t gnutls_calc_dh_secret(MP_t *priv, MP_t g, MP_t p); in
> the librtmp/dh.h. Now that the new function declaration is:
> gnutls_calc_dh_secret (bigint_t*ret_y, bigint_t * ret_x, bigint_t g, bigint_t
> unsigned int q_bits)
The problem is that rtmpdump used this function even though it was not a
public official gnutls function, and thus it can change at any time -
which it did now.
> It makes RTMPDump barf a core on runtime. It compiles, as everything is
> ultimately declared as a void*, but the structures have changed internally.
> I'm sorry, I don't have a fix for that.
This should be fixed in git now.
More information about the rtmpdump