[rtmpdump] [PATCH] Publisher authentication

Sergiy piratfm at gmail.com
Fri Jul 2 09:07:16 CEST 2010


2010/6/20 Sergiy <piratfm at gmail.com>

>
>
> 2010/6/19 Howard Chu <hyc at highlandsun.com>
>
>
>> Your patch only works with OpenSSL, we'll need to rewrite a fair bit of it
>> to make it portable across GnuTLS and PolarSSL too.
>>
>
>
> Ok, now it also works with PolarSSL & GnuTLS:
>
> There's no problems with PolarSSL.
>
> But, unfortunaly GnuTLS don't have MD5 function in native API, so I have to
> use gnutls-openssl api, that have MD5(). Also there's two base64 encoders in
> GnuTLS , but they are non-standard, that's why in this case i wrote simple
> base64 encoder inside rtmp.c. Maybe I have to move it somewhere (to
> rtmp_sys.c for example), and there we can also implement MD5, so there's no
> need in any crypto-lib for publisher auth?
>
>
>
>> And I don't want to commit patches that introduce memory leaks.
>
>
>
> Fixed, when new app and tcUrl allocated, and library fails to connect, or
> publishing finished, then allocated data would be free.
>
> Please fix the leak and put some #ifdef's
>>
>
> done
>
>
What about this patch?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100702/9a65fe5d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmpdump-pub_auth20062010.patch
Type: text/x-diff
Size: 15151 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100702/9a65fe5d/attachment.patch>


More information about the rtmpdump mailing list