mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
r17914@catbus: nickm | 2008-02-05 16:12:16 -0500
Remove or downgrade some XXX020 items. svn:r13388
This commit is contained in:
parent
c11c48fc78
commit
92aaf68d19
@ -1106,7 +1106,6 @@ ns_detached_signatures_free(ns_detached_signatures_t *s)
|
||||
* Certificate functions
|
||||
* ===== */
|
||||
|
||||
/*XXXX020 make this static? */
|
||||
/** Allocate and return a new authority_cert_t with the same contents as
|
||||
* <b>cert</b>. */
|
||||
authority_cert_t *
|
||||
|
@ -122,7 +122,7 @@ typedef int socklen_t;
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
/*XXXX020 for debugging possible memory leaks. */
|
||||
/* for debugging possible memory leaks. */
|
||||
#define malloc(x) tor_malloc(x)
|
||||
#define realloc(x,y) tor_realloc((x),(y))
|
||||
#define free(x) tor_free(x)
|
||||
|
@ -19,7 +19,7 @@ typedef unsigned char u_char;
|
||||
#define WIN32
|
||||
#endif
|
||||
|
||||
/* XXXX020 These are for debugging possible memory leaks. */
|
||||
/* These are for debugging possible memory leaks. */
|
||||
#include "util.h"
|
||||
#include "compat.h"
|
||||
|
||||
|
@ -145,7 +145,7 @@ geoip_load_file(const char *filename)
|
||||
char buf[512];
|
||||
if (fgets(buf, sizeof(buf), f) == NULL)
|
||||
break;
|
||||
/* XXXX020 track full country name. */
|
||||
/* FFFF track full country name. */
|
||||
geoip_parse_entry(buf);
|
||||
}
|
||||
/*XXXX020 abort and return -1 if no entries/illformed?*/
|
||||
|
@ -25,8 +25,10 @@ const char ntmain_c_id[] =
|
||||
static SERVICE_STATUS service_status;
|
||||
static SERVICE_STATUS_HANDLE hStatus;
|
||||
|
||||
/* XXXX020 This 'backup argv' and 'backup argc' business is an ugly hack. This
|
||||
* is a job for arguments, not globals. */
|
||||
/* XXXX This 'backup argv' and 'backup argc' business is an ugly hack. This
|
||||
* is a job for arguments, not globals. Alas, some of the functions that
|
||||
* use them use them need to have fixed signatures, so they can be passed
|
||||
* to the NT service functions. */
|
||||
static char **backup_argv;
|
||||
static int backup_argc;
|
||||
static char* nt_strerror(uint32_t errnum);
|
||||
|
@ -261,7 +261,6 @@ init_key_from_file(const char *fname, int generate, int severity)
|
||||
/** Load the v3 (voting) authority signing key and certificate, if they are
|
||||
* present. Return -1 if anything is missing, mismatched, or unloadable;
|
||||
* return 0 on success. */
|
||||
/* XXXX020 maybe move to dirserv.c or dirvote.c */
|
||||
static int
|
||||
init_v3_authority_keys(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user