From patchwork Sat Dec 2 02:45:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 111 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director4.mail.ord1d.rsapps.net ([172.27.255.52]) by backend31.mail.ord1d.rsapps.net (Dovecot) with LMTP id RHVPAx+vIlqeDAAAgoeIoA for ; Sat, 02 Dec 2017 08:48:15 -0500 Received: from proxy17.mail.iad3a.rsapps.net ([172.27.255.52]) by director4.mail.ord1d.rsapps.net (Dovecot) with LMTP id Gy78IR+vIlqyRAAAHDmxtw ; Sat, 02 Dec 2017 08:48:15 -0500 Received: from smtp49.gate.iad3a ([172.27.255.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy17.mail.iad3a.rsapps.net (Dovecot) with LMTP id K8jsHR+vIlpLXAAAR4KW9A ; Sat, 02 Dec 2017 08:48:15 -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.34.181.88] Authentication-Results: smtp49.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.34.181.88"; 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; dmarc=none (p=nil; dis=none) header.from=unstable.cc X-Classification-ID: 71df6a3a-d767-11e7-b9e4-525400fffce0-1-1 Received: from [216.34.181.88] ([216.34.181.88:16868] helo=lists.sourceforge.net) by smtp49.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.1.56364 r(Core:4.2.1.14)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 15/F4-26030-F1FA22A5; Sat, 02 Dec 2017 08:48:15 -0500 Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1eL886-0005CN-5Y; Sat, 02 Dec 2017 13:46:54 +0000 Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eL885-0005C7-95 for openvpn-devel@lists.sourceforge.net; Sat, 02 Dec 2017 13:46:53 +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=j1KK4pgwMaCUXhwMkDyHr1JAAc1q3HKOfrC9nWbyRhU=; b=bCjwNezF42z2THlfdWewXOyHMb WWRuDka//SgLuntqfU1xRwkmIdMZ977XhCID4y7XeLV1gE+kNOZFtgY2I2cOjxC1c5rcLIrVMu8db 07rAIrTvZ0TCyxE7pvjpCIrugDcGvc4+zYYTWqBXCDbBbIV2kKRYN7lElk68WCWJJ0NM=; 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=j1KK4pgwMaCUXhwMkDyHr1JAAc1q3HKOfrC9nWbyRhU=; b=QBwH9uUpUdhrWFGVxdYCCvMmIa HOubtfy9Vwm8DomHQz9gQafHQRxpL6s9jqbvsErCSiHGRAKLyLNRsIc6v89CuSu73GeGrOPNR050W PrKSqEXBYBjqxRFJHVIuQDWCZjhSeQMo5CqwBMAQGxKjKrLQZ7+c0ngTHscNPF00u1Fc=; Received: from s2.neomailbox.net ([5.148.176.60]) by sfi-mx-4.v28.ch3.sourceforge.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) id 1eL884-0006uS-6l for openvpn-devel@lists.sourceforge.net; Sat, 02 Dec 2017 13:46:53 +0000 From: Antonio Quartulli To: openvpn-devel@lists.sourceforge.net Date: Sat, 2 Dec 2017 21:45:40 +0800 Message-Id: <20171202134541.7688-6-a@unstable.cc> In-Reply-To: <20171202134541.7688-1-a@unstable.cc> References: <20171202134541.7688-1-a@unstable.cc> X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [5.148.176.60 listed in list.dnswl.org] -0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1eL884-0006uS-6l Subject: [Openvpn-devel] [PATCH 6/7] Remove MD5SUM 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: Antonio Quartulli MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Apparently the MS5SUM macro is not used anywhere. Remove it. Signed-off-by: Antonio Quartulli Acked-by: Steffan Karger --- src/openvpn/openvpn.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openvpn/openvpn.h b/src/openvpn/openvpn.h index d843c913..fe8324ab 100644 --- a/src/openvpn/openvpn.h +++ b/src/openvpn/openvpn.h @@ -563,7 +563,6 @@ struct context |(c->c2.tls_multi ? PD_TLS : 0) \ |(c->options.tls_auth_file ? c->c1.ks.key_type.hmac_length : 0), \ gc) -#define MD5SUM(buf, len, gc) md5sum((buf), (len), 0, (gc)) /* this represents "disabled peer-id" */ #define MAX_PEER_ID 0xFFFFFF