[Openvpn-devel] crypto.h: remove unused function declaration

Message ID 1539008366-19656-1-git-send-email-lstipakov@gmail.com
State Accepted
Headers show
Series [Openvpn-devel] crypto.h: remove unused function declaration | expand

Commit Message

Lev Stipakov Oct. 8, 2018, 3:19 a.m. UTC
From: Lev Stipakov <lev@openvpn.net>

This removes declaration of function which has no definition and usage.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
---
 src/openvpn/crypto.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Gert Doering Oct. 8, 2018, 3:25 a.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

"that was an easy one" :-) - as the message says: nothing of that
name appears anywhere else.

Your patch has been applied to the master branch.

commit 8475ef0aeea30889188c6e0fd93a8cf4c0eb215a
Author: Lev Stipakov
Date:   Mon Oct 8 17:19:26 2018 +0300

     crypto.h: remove unused function declaration

     Signed-off-by: Lev Stipakov <lev@openvpn.net>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <1539008366-19656-1-git-send-email-lstipakov@gmail.com>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17644.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

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);