r15023@catbus: nickm | 2007-09-10 10:46:16 -0400

Add a missing begin-comment to the DNS_USE_OPENSSL_FOR_ID code in evdns.c.


svn:r426
This commit is contained in:
Nick Mathewson 2007-09-10 14:55:50 +00:00
parent fc1211ed8a
commit c396c767e2
2 changed files with 5 additions and 2 deletions

View File

@ -7,3 +7,4 @@ Changes in current version:
o Fix a memory leak in which failed HTTP connections whould not free the request object
o Make adding of array members in event_rpcgen more efficient, but doubling memory allocation
o Fix a memory leak in the DNS server
o Fix compilation when DNS_USE_OPENSSL_FOR_ID is enabled

View File

@ -1037,9 +1037,11 @@ transaction_id_pick(void) {
if (RAND_pseudo_bytes((u8 *) &trans_id, 2) == -1) {
/* in the case that the RAND call fails we back */
/* down to using gettimeofday. */
struct timeval tv;
/*
struct timeval tv;
gettimeofday(&tv, NULL);
trans_id = tv.tv_usec & 0xffff; */
trans_id = tv.tv_usec & 0xffff;
*/
abort();
}
#endif