]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
ssh_openssl.h: remove unused declaration
authorLev Stipakov <lev@openvpn.net>
Wed, 1 Dec 2021 09:20:02 +0000 (11:20 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 5 Dec 2021 12:46:06 +0000 (13:46 +0100)
Commit 95993a1df3 ("Refactored SSL initialisation functions")
has declared openssl_set_mydata_index(void) function but
hasn't added definition.

There hasn't been need in this function for 10 years,
so it can be safely removed.

Found by MSVC.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211201092002.162-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23269.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit b939fdcfb669bdd57b33e70fd2a2718fcfa626c9)

src/openvpn/ssl_openssl.h

index 2eeb716cd8e42ef005a4a5734d061727863a258d..46338c24e5fdfaae1763144815761f3e7d933558 100644 (file)
@@ -54,6 +54,4 @@ struct key_state_ssl {
  */
 extern int mydata_index; /* GLOBAL */
 
-void openssl_set_mydata_index(void);
-
 #endif /* SSL_OPENSSL_H_ */