From: Lev Stipakov Date: Mon, 8 Oct 2018 14:19:26 +0000 (+0300) Subject: crypto.h: remove unused function declaration X-Git-Tag: v2.5_beta1~414 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8475ef0aeea30889188c6e0fd93a8cf4c0eb215a;p=thirdparty%2Fopenvpn.git crypto.h: remove unused function declaration This removes declaration of function which has no definition and usage. Signed-off-by: Lev Stipakov Acked-by: Gert Doering 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 --- diff --git a/src/openvpn/crypto.h b/src/openvpn/crypto.h index f4b3dca35..263725df6 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);