From patchwork Sun Jan 19 23:37:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lev Stipakov X-Patchwork-Id: 966 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director7.mail.ord1d.rsapps.net ([172.30.191.6]) by backend30.mail.ord1d.rsapps.net with LMTP id qO1ROzSDJV7meAAAIUCqbw for ; Mon, 20 Jan 2020 05:38:45 -0500 Received: from proxy11.mail.ord1d.rsapps.net ([172.30.191.6]) by director7.mail.ord1d.rsapps.net with LMTP id QBFBOzSDJV6/dwAAovjBpQ ; Mon, 20 Jan 2020 05:38:44 -0500 Received: from smtp33.gate.ord1d ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy11.mail.ord1d.rsapps.net with LMTP id OIaOOjSDJV5fcgAAgKDEHA ; Mon, 20 Jan 2020 05:38:44 -0500 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp33.gate.ord1d.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: 07eda860-3b71-11ea-929e-525400041ef2-1-1 Received: from [216.105.38.7] ([216.105.38.7:39644] helo=lists.sourceforge.net) by smtp33.gate.ord1d.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 03/89-23083-433852E5; Mon, 20 Jan 2020 05:38:44 -0500 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1itUR1-0003OD-6I; Mon, 20 Jan 2020 10:37:31 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1itUQz-0003O4-M2 for openvpn-devel@lists.sourceforge.net; Mon, 20 Jan 2020 10:37:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=G/r8hIXwlVVAhsNjhwr0ALfuIRx0h/WIDlBd5qVUHMo=; b=bKDn6o/viV1qTXpsBak5zhJNfx x9zbLgr3kZav7GXkVJRlF/cyR5R1jWmdq7QRsdz0KZligjFg+2mIO2rAhXBJrN3T9vpFfGsAIMFuG pmhagrEIDpJjZMAkM5mEXT4VMjK9sK5iVk5T3uNKMAkXBxS7s4TQ7T7U8L69IDSlJgc0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To :MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=G/r8hIXwlVVAhsNjhwr0ALfuIRx0h/WIDlBd5qVUHMo=; b=bChEATmy5z2ZgKkdkR777As4Vu Gf3wPMltB3OYzvw51x4s37gjV9KLBLzSHNj9KDfh+vUfc14Q3+pBI1oyCvE+jCOahDCB7Abagy1to VlrzELevK1qpjVwl622GOFoRmYoMYWH/7ZQ1Iapge6NOXwVhhxP81eaDaeAq91BQW75s=; Received: from mail-wr1-f44.google.com ([209.85.221.44]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1itUQu-00EqwT-U3 for openvpn-devel@lists.sourceforge.net; Mon, 20 Jan 2020 10:37:29 +0000 Received: by mail-wr1-f44.google.com with SMTP id z7so28911813wrl.13 for ; Mon, 20 Jan 2020 02:37:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=G/r8hIXwlVVAhsNjhwr0ALfuIRx0h/WIDlBd5qVUHMo=; b=s1mDrxAFw4zhH8j5B/95PSf2YOVFu6rpbI8aTJJVG7AVwOQU6v/oqWZ+gFlRfdhNg+ nwkeRd61pSNrAgPAmxxXjn6tNC656KqmKW8kIFXhaNZCISFsLN25GjqawAxSkcXNvAlO ufrGXdoFR8b1rMBMt/QaVDq7JQ/CyDvviTU/5oIPlT59GvUwqXG5XEGMffUjqtoPG6la kY/ufYAa+n0LdUiUBACmkVfzqGwZEYq+CtkNIq4GTfSs0XudzRHFp0VbnCdDlIrMOEH8 V3M+PiHdEZxAh5YXbtc9ziNvlkLvsxLa/KG6egsqjrdlBtIYsGjsn42D/MWUoFu0FvVq kLxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=G/r8hIXwlVVAhsNjhwr0ALfuIRx0h/WIDlBd5qVUHMo=; b=c+iW7lIcvVdnlXcIQXAg28eQ7hfFzmUL6CzSaJ9H1j14l3a4AXcMmgTEG0oq+bLAIO ajl10BXVZOpp29FJbQjNkjQNig8jvkqIdQJraZeqp71AgAExJee5XomFLzpb5SPPz6/t QvFflUf9he9j7tYQZT2F55QT9zdcCWeJ8CCExTC9KvTgq9v+ONC8YHLVXGWBwuq62glA 9KQJy9iqs//klxAlzQBP+T12P0QbO5LqUxjALENZukNoimpzvLVakN9S6UUTvtB6at8e aHI+VQ8ZulE9CE4VYvBJ6YLNxmouGANkvT7iiAHPKjuhwf8sEuze5N+34ZPDM87j0C1J fTcA== X-Gm-Message-State: APjAAAXVF6i7Puv5RD5Nox6ck7aBt9Kep6UvyyW5HU2ghw691i00JuOP 3C9qZTE5YuWbEahMu5Ieytl+JTfx30g= X-Google-Smtp-Source: APXvYqzkyZ+lDdOeQsQAEPUs2l0HQuK5tCINaSsLPviaSRfnYMLOc6XfLsqxvH/wekJKFzc+QAhCZg== X-Received: by 2002:a5d:6a52:: with SMTP id t18mr17541373wrw.391.1579516638034; Mon, 20 Jan 2020 02:37:18 -0800 (PST) Received: from LAPTOP-4L3N7KFS.panoulu.local ([2a00:1d50:3:0:9872:292a:eadb:b9d5]) by smtp.gmail.com with ESMTPSA id i10sm47777374wru.16.2020.01.20.02.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 02:37:17 -0800 (PST) From: Lev Stipakov To: openvpn-devel@lists.sourceforge.net Date: Mon, 20 Jan 2020 12:37:01 +0200 Message-Id: <20200120103701.913-1-lstipakov@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200120082841.633-1-lstipakov@gmail.com> References: <20200120082841.633-1-lstipakov@gmail.com> X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (lstipakov[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.44 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.44 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Headers-End: 1itUQu-00EqwT-U3 Subject: [Openvpn-devel] [PATCH v2] openvpnserv: add missing include directory X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lev Stipakov MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox From: Lev Stipakov Commit ab27c9f added inclusion of openssl header but didn't add include directory to msvc project file nor mingw makefile. Signed-off-by: Lev Stipakov --- v2: modify also Makefile.am src/openvpnserv/Makefile.am | 3 ++- src/openvpnserv/openvpnserv.vcxproj | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/openvpnserv/Makefile.am b/src/openvpnserv/Makefile.am index f8d3319c..00acee31 100644 --- a/src/openvpnserv/Makefile.am +++ b/src/openvpnserv/Makefile.am @@ -25,7 +25,8 @@ sbin_PROGRAMS = openvpnserv openvpnserv_CFLAGS = \ -municode -D_UNICODE \ -UNTDDI_VERSION -U_WIN32_WINNT \ - -D_WIN32_WINNT=_WIN32_WINNT_VISTA + -D_WIN32_WINNT=_WIN32_WINNT_VISTA \ + $(OPTIONAL_CRYPTO_CFLAGS) openvpnserv_LDADD = -ladvapi32 -luserenv -liphlpapi -lfwpuclnt -lrpcrt4 -lshlwapi -lnetapi32 -lws2_32 -lntdll endif diff --git a/src/openvpnserv/openvpnserv.vcxproj b/src/openvpnserv/openvpnserv.vcxproj index c5a34b87..f2eb805f 100644 --- a/src/openvpnserv/openvpnserv.vcxproj +++ b/src/openvpnserv/openvpnserv.vcxproj @@ -72,7 +72,7 @@ - ..\openvpn;..\compat;%(AdditionalIncludeDirectories) + ..\openvpn;..\compat;$(OPENSSL_HOME)/include;%(AdditionalIncludeDirectories) _CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +83,7 @@ - ..\openvpn;..\compat;%(AdditionalIncludeDirectories) + ..\openvpn;..\compat;$(OPENSSL_HOME)/include;%(AdditionalIncludeDirectories) _CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +94,7 @@ - ..\openvpn;..\compat;%(AdditionalIncludeDirectories) + ..\openvpn;..\compat;$(OPENSSL_HOME)/include;%(AdditionalIncludeDirectories) _CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +105,7 @@ - ..\openvpn;..\compat;%(AdditionalIncludeDirectories) + ..\openvpn;..\compat;$(OPENSSL_HOME)/include;%(AdditionalIncludeDirectories) _CONSOLE;%(PreprocessorDefinitions)