summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-08-13 17:57:13 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-08-13 17:57:13 +0200
commit5f9aa5edc8c4f347fc2f80f97f00df6d945610a3 (patch)
tree2017e2e5e37677ec9f4b5701aaf2c62cf8bb4cec /src
parent760bf0877f5057790d719459f9c7eb863ad19683 (diff)
downloadgnutls-5f9aa5edc8c4f347fc2f80f97f00df6d945610a3.tar.gz
removed unneeded defintions.
Diffstat (limited to 'src')
-rw-r--r--src/crywrap/crywrap.c4
-rw-r--r--src/crywrap/crywrap.h15
2 files changed, 2 insertions, 17 deletions
diff --git a/src/crywrap/crywrap.c b/src/crywrap/crywrap.c
index 69afcd2f04..9c225c7a64 100644
--- a/src/crywrap/crywrap.c
+++ b/src/crywrap/crywrap.c
@@ -129,7 +129,7 @@ static const struct argp_option _crywrap_options[] = {
{"key", 'k', "FILE", 0, "Server key", 2},
{"cert", 'c', "FILE", 0, "Server certificate", 2},
{"ca", 'z', "FILE", 0, "CA certificate", 2},
- {"anon", 'a', NULL, 0, "Enable anonymous authentication (don't use a certificate)", 2},
+ {"anon", 'a', NULL, 0, "Enable anonymous authentication (no certificates)", 2},
{"verify", 'v', "LEVEL", OPTION_ARG_OPTIONAL,
"Verify clients certificate (1: verify if exists, 2: require)", 2},
{NULL, 0, NULL, 0, "Other options:", 3},
@@ -138,7 +138,7 @@ static const struct argp_option _crywrap_options[] = {
{"pidfile", 'P', "PATH", 0, "File to log the PID into", 3},
{"priority", 'p', "STRING", 0, "GnuTLS ciphersuite priority string", 3},
{"inetd", 'i', NULL, 0, "Enable inetd mode", 3},
- {"debug", 'D', NULL, 0, "Do not fork", 3},
+ {"debug", 'D', NULL, 0, "Run the server into foreground", 3},
{0, 0, 0, 0, NULL, 0}
};
diff --git a/src/crywrap/crywrap.h b/src/crywrap/crywrap.h
index 62b4d7f109..e246e27a44 100644
--- a/src/crywrap/crywrap.h
+++ b/src/crywrap/crywrap.h
@@ -85,22 +85,7 @@ typedef struct
int debug;
} crywrap_config_t;
-/** @defgroup options Options.
- * These are the compile-time options.
- * @{
- */
-/** If this option is set, CryWrap will fork into the background.
- */
-#ifndef CRYWRAP_OPTION_FORK
-#define CRYWRAP_OPTION_FORK 1
-#endif
-
-#if CRYWRAP_OPTION_NOFORK
-#undef CRYWRAP_OPTION_FORK
-#endif
-
/** @} *//* End of the Options group */
#endif /* !_CRYWRAP_H */
-/* arch-tag: ebfe1550-0fec-4c0d-8833-23e48292e75d */