[rtmpdump] GnuTLS API changed for gnutls_calc_dh_secret()

Jari Turkia jmjt at lut.fi
Mon Jul 15 22:23:36 CEST 2013


Since GnuTLS does not have an include-file in the 
/usr/include/-directory, 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)
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.

Regards,
Jari Turkia


More information about the rtmpdump mailing list