mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
srtp msvc updates and cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1087 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
b3d890ef25
commit
abda472017
66 files changed
+30
-220
No files matched your search
@@ -1,5 +0,0 @@
|
||||
/ctr_prng.c/1.4/Thu Sep 29 12:48:42 2005//
|
||||
/prng.c/1.6/Sat Oct 8 16:38:06 2005//
|
||||
/rand_linux_kernel.c/1.1/Mon Oct 3 15:29:10 2005//
|
||||
/rand_source.c/1.6/Sun Oct 2 20:22:36 2005//
|
||||
D
|
||||
@@ -1 +0,0 @@
|
||||
srtp/crypto/rng
|
||||
@@ -1 +0,0 @@
|
||||
:pserver:anonymous@cvs.sourceforge.net:/cvsroot/srtp
|
||||
@@ -96,10 +96,10 @@ x917_prng_get_octet_string(uint8_t *dest, uint32_t len) {
|
||||
x917_prng.octet_count += len;
|
||||
|
||||
/* find out the time */
|
||||
t = time(NULL);
|
||||
t = (uint32_t)time(NULL);
|
||||
|
||||
/* loop until we have output enough data */
|
||||
for (i=0; i < len/16; i++) {
|
||||
for (i=0; (uint32_t)i < len/16; i++) {
|
||||
|
||||
/* exor time into state */
|
||||
x917_prng.state.v32[0] ^= t;
|
||||
|
||||
Reference in new issue
Block a user