[rtmpdump] [PATCH] Add support for building with gnutls with nettle as backend

Martin Storsjö martin at martin.st
Mon Nov 28 14:45:10 CET 2011


On Mon, 28 Nov 2011, Martin Storsjö wrote:

> On Tue, 15 Nov 2011, Martin Storsjö wrote:
>
>> On Sun, 7 Aug 2011, Martin Storsjo wrote:
>> 
>>> ---
>>> Updated after some initial testing.
>>> 
>>> Makefile            |    1 +
>>> librtmp/Makefile    |    3 +++
>>> librtmp/dh.h        |   20 +++++++++++++++++++-
>>> librtmp/handshake.h |   20 ++++++++++++++++++++
>>> librtmp/hashswf.c   |   11 +++++++++++
>>> librtmp/rtmp.c      |    4 ++--
>>> librtmp/rtmp_sys.h  |    2 +-
>>> 7 files changed, 57 insertions(+), 4 deletions(-)
>>> 
>> 
>> Tested this version with a rtmpe:// url, which seemed to work fine. rtmps 
>> and swfhash verification still untested, if someone can test that, or can 
>> provide me with test setups for that, I'd appreciate it, so that this patch 
>> can be applied sometime.
>
> Tested rtmps, too, which works fine with this patch. swfhash still untested.

Finally tested with an url requiring swfhash, too, seems to work.

So, the patch sent on August 7th should be good to go, given that the 
build system stuff with CRYPTO=GNUTLS vs CRYPTO=GNUTLS_NETTLE is 
acceptable. (If the project had a configure system, one could try to 
detect which crypto backend is in use for gnutls, but without configure, 
it has to be selected manually like this.)

// Martin


More information about the rtmpdump mailing list