Skip to contentSkip to conversation

crypto.h: remove unused function declaration

PATCH In review Lev Stipakov 2 participants 2 messages Oct 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto.h: remove unused function declaration

From: Lev Stipakov <[email protected]...>

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

---
 src/openvpn/crypto.h | 5 -----
 1 file changed, 5 deletions(-)
src/openvpn/crypto.h +0 -5
index f4b3dca..263725d 100644
@@ -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);
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

"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 <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg17644.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering