| 107 | char* NULLADDR="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; |
| 108 | |
| 109 | int myrand(void * entropy, int len){ |
| 110 | int i; |
| 111 | unsigned short init; |
| 112 | |
| 113 | init = randomizer; |
| 114 | for(i=0; i < len/2; i++){ |
| 115 | init ^= ((unsigned short *)entropy)[i]; |
| 116 | } |
| 117 | srand(init); |
| 118 | randomizer = rand(); |
| 119 | return rand(); |
| 120 | |
| 121 | } |
| 122 | |
| 123 | #ifndef WITH_POLL |
| 124 | int |
no outgoing calls
no test coverage detected