From patchwork Mon Oct 8 03:19:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lev Stipakov X-Patchwork-Id: 510 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director8.mail.ord1d.rsapps.net ([172.31.255.6]) by backend30.mail.ord1d.rsapps.net with LMTP id uLeUKFNou1vFNAAAIUCqbw for ; Mon, 08 Oct 2018 10:23:15 -0400 Received: from proxy2.mail.iad3b.rsapps.net ([172.31.255.6]) by director8.mail.ord1d.rsapps.net with LMTP id 4CvYJVNou1uZRAAAfY0hYg ; Mon, 08 Oct 2018 10:23:15 -0400 Received: from smtp5.gate.iad3b ([172.31.255.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy2.mail.iad3b.rsapps.net with LMTP id EN7dH1Nou1veDgAAvAZTew ; Mon, 08 Oct 2018 10:23:15 -0400 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: smtp5.gate.iad3b.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: b13064f4-cb05-11e8-9ce7-525400155d63-1-1 Received: from [216.105.38.7] ([216.105.38.7:13209] helo=lists.sourceforge.net) by smtp5.gate.iad3b.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id F9/C4-04066-2586BBB5; Mon, 08 Oct 2018 10:23:15 -0400 Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1g9WQE-0000I3-LH; Mon, 08 Oct 2018 14:22:10 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g9WQD-0000Hc-9D for openvpn-devel@lists.sourceforge.net; Mon, 08 Oct 2018 14:22:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uzIih5CDo8C+Irlh+NXNRnEmkpKzoZBWUaTxQFy4Amg=; b=Oh2Xu1uxL1rWEWoH+tF2DZtELk YSGkmCngQVyaIBay+F2o6nZKuhCLcHHvl4cJUCxmj9aGoYJum2UoMSQOAfacY3qaR+hSu68uY52D9 tChGUYby7vGWxxZ5+LMfdNR0V7wc26de4b9H5z93iyTP19w45AVS86S0v/13iut2XA8k=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uzIih5CDo8C+Irlh+NXNRnEmkpKzoZBWUaTxQFy4Amg=; b=LTk7oQzl+fhF9pHhUApVVjgWym EUCmM7PQ5sfeN2uWETSmpGiXIdJPhUdgiHdhZ96Ff/8axksCuP1BsdR83VNuK9GKWAQOeQFgdhnUn ozM6F3v3DDdLcMdCxntDprwNE/B0So1xNLrcxg2MsIn9Lw/uTjLvK70OzkJOzsT98zcA=; Received: from mail-ed1-f66.google.com ([209.85.208.66]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1g9WQ6-00ESws-SY for openvpn-devel@lists.sourceforge.net; Mon, 08 Oct 2018 14:22:09 +0000 Received: by mail-ed1-f66.google.com with SMTP id y20-v6so11109865eds.10 for ; Mon, 08 Oct 2018 07:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=uzIih5CDo8C+Irlh+NXNRnEmkpKzoZBWUaTxQFy4Amg=; b=RyCqOqm/raspB6QNdh1chB2ghpr3bOrnMGJ3qTCQl81awfWM5vxA2XTwVWXU0GW0xS jWg2szotgC9lwbPm1BgpOBlJD9GFm1xdyaXnxomCFuz9/MgnpFK2VYw0UxwqqEp2mlKX jTIdnr+25OTFt6LhyevscFTwlQatJMO0XubGYhlfhfFMULIus2Z1aUepvh1cfQaD/JV5 iS3P1yP8HLTT6O6NZ+xMYGcqyINGvzJZPW+H7lDMBTwvHGAENqryqUfITcJvbhO2+X2i iXuog8qZiSuywg8GqWZ32vIoBZHzksWXoD7OjHrRLZD1E9t536UgZEE+ATFQJEtm+1Tc a4dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=uzIih5CDo8C+Irlh+NXNRnEmkpKzoZBWUaTxQFy4Amg=; b=q0YKM5z1NDtUanvC55sZ5VErLewiFFGFPadrkVkPTqwMW+QwnF+3BWYmfrU1zN4XvG 7auuBl6fCC4c9gbJ63vm/3cC2ee2ksh3/lmLoraUW6guSGXRmD/3tQ5iUv/eciqjE5PN cP2K1hUK09l20CsoDC3iw5mCaNQ7Wx1BFYeJhaipy6beavppazprmOF8CRQVRxTm87zL i+Ns7HpPn0nXDj5a2IyvmkqJ+RYU0rRPswPhS9pt2icveDgXg8d5FmBkNkPucMxe71kJ o2iJ8648Q5V90XpHeVD8hHyq0Ky+jbl8LQ7JkydCZ1VovVx6VnR81zUSA/Dg9opuv39w 0MAw== X-Gm-Message-State: ABuFfojrquGSDCVUKcu0CkxkaI8+hpCByOdN8U6AnpgQMgNOorSzu57G t5+B41E3NEX1smhh/vYLXbIqBm8Gq94= X-Google-Smtp-Source: ACcGV63nhoN0PeQVto38xBJmhwYVxCVp2RmvCHmBhhuxntO1dQtAi2W5PaHXtV6nYxqg/e2D7Q7zNg== X-Received: by 2002:a17:906:135a:: with SMTP id x26-v6mr23633619ejb.23.1539008515643; Mon, 08 Oct 2018 07:21:55 -0700 (PDT) Received: from stipakov.fi (stipakov.fi. [128.199.52.117]) by smtp.gmail.com with ESMTPSA id b36-v6sm5629353ede.11.2018.10.08.07.21.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Oct 2018 07:21:55 -0700 (PDT) From: Lev Stipakov To: openvpn-devel@lists.sourceforge.net Date: Mon, 8 Oct 2018 17:19:26 +0300 Message-Id: <1539008366-19656-1-git-send-email-lstipakov@gmail.com> X-Mailer: git-send-email 2.7.4 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_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.66 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.208.66 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches 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 0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1g9WQ6-00ESws-SY Subject: [Openvpn-devel] [PATCH] crypto.h: remove unused function declaration 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: , MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox From: Lev Stipakov This removes declaration of function which has no definition and usage. Signed-off-by: Lev Stipakov Acked-by: Gert Doering --- src/openvpn/crypto.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/openvpn/crypto.h b/src/openvpn/crypto.h index f4b3dca..263725d 100644 --- a/src/openvpn/crypto.h +++ b/src/openvpn/crypto.h @@ -278,11 +278,6 @@ void read_key_file(struct key2 *key2, const char *file, const unsigned int flags */ int write_key_file(const int nkeys, const char *filename); -int read_passphrase_hash(const char *passphrase_file, - const md_kt_t *digest, - uint8_t *output, - int len); - void generate_key_random(struct key *key, const struct key_type *kt); void check_replay_consistency(const struct key_type *kt, bool packet_id);