/*
* This takes the "cryptic" hash of each keyword and aliases them to
* something a little more readable. This also makes changing the
/*
* This takes the "cryptic" hash of each keyword and aliases them to
* something a little more readable. This also makes changing the
* Use the included "hash" program to find out what the hash will be
* for any string supplied on the command line. (Or just put it in the
* config file and read the number from the error message in the log).
* Use the included "hash" program to find out what the hash will be
* for any string supplied on the command line. (Or just put it in the
* config file and read the number from the error message in the log).
freez(config->proxy_info_url);
freez(config->proxy_args);
freez(config->usermanual);
freez(config->trusted_cgi_referrer);
freez(config->proxy_info_url);
freez(config->proxy_args);
freez(config->usermanual);
freez(config->trusted_cgi_referrer);
freez(config->ca_password);
freez(config->ca_directory);
freez(config->ca_cert_file);
freez(config->ca_password);
freez(config->ca_directory);
freez(config->ca_cert_file);
char *ca_cert_file = NULL;
char *ca_key_file = NULL;
char *ca_directory = NULL;
char *ca_cert_file = NULL;
char *ca_key_file = NULL;
char *ca_directory = NULL;
config->usermanual = strdup_or_die(USER_MANUAL_URL);
config->proxy_args = strdup_or_die("");
config->forwarded_connect_retries = 0;
config->usermanual = strdup_or_die(USER_MANUAL_URL);
config->proxy_args = strdup_or_die("");
config->forwarded_connect_retries = 0;
config->ca_password = strdup("");
ca_cert_file = strdup("cacert.crt");
ca_key_file = strdup("cakey.pem");
config->ca_password = strdup("");
ca_cert_file = strdup("cacert.crt");
ca_key_file = strdup("cakey.pem");
if (config->receive_buffer_size < BUFFER_SIZE)
{
log_error(LOG_LEVEL_INFO,
if (config->receive_buffer_size < BUFFER_SIZE)
{
log_error(LOG_LEVEL_INFO,
"Consider setting it to at least %d.",
config->receive_buffer_size, BUFFER_SIZE);
}
"Consider setting it to at least %d.",
config->receive_buffer_size, BUFFER_SIZE);
}
/* *************************************************************************
* ca private key file password
* *************************************************************************/
/* *************************************************************************
* ca private key file password
* *************************************************************************/
ca_directory = make_path(NULL, arg);
if (NULL == ca_directory)
ca_directory = make_path(NULL, arg);
if (NULL == ca_directory)
ca_cert_file = make_path(config->ca_directory, arg);
if (NULL == ca_cert_file)
ca_cert_file = make_path(config->ca_directory, arg);
if (NULL == ca_cert_file)
* certificate-directory directory
* *************************************************************************/
case hash_certificate_directory:
* certificate-directory directory
* *************************************************************************/
case hash_certificate_directory:
certificate_directory = make_path(NULL, arg);
if (NULL == certificate_directory)
certificate_directory = make_path(NULL, arg);
if (NULL == certificate_directory)
* trusted CAs file name trusted-cas-file
* *************************************************************************/
case hash_trusted_cas_file:
* trusted CAs file name trusted-cas-file
* *************************************************************************/
case hash_trusted_cas_file:
trusted_cas_file = make_path(config->ca_directory, arg);
if (NULL == trusted_cas_file)
trusted_cas_file = make_path(config->ca_directory, arg);
if (NULL == trusted_cas_file)