diff options
author | 2007-03-22 20:08:18 +0000 | |
---|---|---|
committer | 2007-03-22 20:08:18 +0000 | |
commit | 09d798e9c8f70fb8697ca7a52eedbc96d36b201f (patch) | |
tree | 5dc6ea695fca248782d134d8157b3ffd1ab9d68d /usr.sbin/httpd/src | |
parent | Do not define ISA_DMA_STATS by default; ok deraadt (diff) | |
download | wireguard-openbsd-09d798e9c8f70fb8697ca7a52eedbc96d36b201f.tar.xz wireguard-openbsd-09d798e9c8f70fb8697ca7a52eedbc96d36b201f.zip |
remove default output of version numbers to silence confused auditing
programs.
prompted by deraadt@ and cloder@, ok cloder@, henning@, xsa@
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r-- | usr.sbin/httpd/src/main/http_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/main/http_main.c b/usr.sbin/httpd/src/main/http_main.c index 778cc734e86..76048076b81 100644 --- a/usr.sbin/httpd/src/main/http_main.c +++ b/usr.sbin/httpd/src/main/http_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: http_main.c,v 1.45 2006/07/28 14:07:22 henning Exp $ */ +/* $OpenBSD: http_main.c,v 1.46 2007/03/22 20:08:18 pyr Exp $ */ /* ==================================================================== * The Apache Software License, Version 1.1 @@ -295,7 +295,7 @@ static char *server_version = NULL; static int version_locked = 0; /* Global, alas, so http_core can talk to us */ -enum server_token_type ap_server_tokens = SrvTk_FULL; +enum server_token_type ap_server_tokens = SrvTk_PRODUCT_ONLY; /* Also global, for http_core and http_protocol */ API_VAR_EXPORT int ap_protocol_req_check = 1; @@ -310,7 +310,7 @@ API_VAR_EXPORT int ap_change_shmem_uid = 0; static void reset_version(void *dummy) { version_locked = 0; - ap_server_tokens = SrvTk_FULL; + ap_server_tokens = SrvTk_PRODUCT_ONLY; server_version = NULL; } |