[vlc-devel] commit: Replace for() (rand() & 0xff) with vlc_rand_bytes(); in RTMP handshake. (JP Dinger )

Rémi Denis-Courmont remi at remlab.net
Fri Jul 10 12:34:38 CEST 2009


On Fri, 10 Jul 2009 12:26:49 +0200 (CEST), git at videolan.org (git version
control) wrote:
> vlc | branch: master | JP Dinger <jpd at videolan.org> | Fri Jul 10 12:25:24
> 2009 +0200| [a9d0ab74dde19e2c7d73350551bf78f81bb13bba] | committer: JP
> Dinger
> 
> Replace for() (rand() & 0xff) with vlc_rand_bytes(); in RTMP handshake.

> +
> +    for( i = 0; i < 8; i++ )
> +        p_write[i + 1] = 0x00;

memset() ?

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list