[rtmpdump] GnuTLS API changed for gnutls_calc_dh_secret()
Martin Storsjö
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:
> *int
> gnutls_calc_dh_secret (bigint_t*ret_y, bigint_t * ret_x, bigint_t g, bigint_t
> prime,
> 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.
// Martin
More information about the rtmpdump
mailing list