From 23d954a5391482252c1002277a268e708892d39b Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 26 Jan 2007 09:44:13 +0000 Subject: [PATCH] Lint openssl fix. git-svn-id: file:///svn/unbound/trunk@38 be551aaa-1e26-0410-a405-d3ace91eadb9 --- Makefile.in | 2 ++ daemon/unbound.c | 2 ++ doc/Changelog | 1 + 3 files changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in index 8fd1c3004..06ef13504 100644 --- a/Makefile.in +++ b/Makefile.in @@ -41,6 +41,8 @@ BUILD=build/ LINT=splint LINTFLAGS=+quiet -weak -warnposix -unrecog -Din_addr_t=uint32_t -Du_int=unsigned -Du_char=uint8_t -preproc +# compat with openssl linux edition. +LINTFLAGS+="-DBN_ULONG=unsigned long" -Dkrb5_int32=int "-Dkrb5_ui_4=unsigned int" -DPQ_64BIT=uint64_t INSTALL=$(srcdir)/install-sh diff --git a/daemon/unbound.c b/daemon/unbound.c index c9a8cca5e..bffc7d2b1 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -120,6 +120,8 @@ main(int argc, char* argv[]) comm_base_delete(base); fatal_exit("could not create listening sockets"); } + + /* drop user priviliges and chroot if needed */ log_info("Start of %s.", PACKAGE_STRING); diff --git a/doc/Changelog b/doc/Changelog index 45ab70bab..625b87f9e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 26 January 2007: Wouter - fixed memleak. + - make lint works on BSD and Linux (openssl defines). 25 January 2007: Wouter - fixed lint so it may work on BSD. -- 2.47.2