Ignore:
Timestamp:
Nov 6, 2009 1:31:37 PM (14 years ago)
Author:
nanang
Message:

Ticket #957:

  • Updated Symbian PJLIB test build setting to enable SSL sock test.
  • Fixed ciphers enumeration in Symbian SSL sock.
  • Fixed OpenSSL SSL sock to avoid initializing OpenSSL multiple times.
  • Fixed SSL unit test to avoid divide-by-zero in setting random seed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/ssl_sock.c

    r2986 r2990  
    611611 
    612612        pj_gettimeofday(&now); 
    613         pj_srand((pj_rand()%now.sec) * (pj_rand()%now.msec)); 
     613        pj_srand((unsigned)now.sec); 
    614614        state_cli.send_str_len = (pj_rand() % 5 + 1) * 1024 + pj_rand() % 1024; 
    615615    } 
     
    10071007 
    10081008        pj_gettimeofday(&now); 
    1009         pj_srand((pj_rand()%now.sec) * (pj_rand()%now.msec)); 
     1009        pj_srand((unsigned)now.sec); 
    10101010    } 
    10111011 
Note: See TracChangeset for help on using the changeset viewer.