From: Lev Stipakov Date: Wed, 1 Dec 2021 09:20:02 +0000 (+0200) Subject: ssh_openssl.h: remove unused declaration X-Git-Tag: v2.5.5~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c237d49ec52241edb6b1a839baae04bdb37f8bd0;p=thirdparty%2Fopenvpn.git ssh_openssl.h: remove unused declaration 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 Acked-by: Gert Doering 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 (cherry picked from commit b939fdcfb669bdd57b33e70fd2a2718fcfa626c9) --- diff --git a/src/openvpn/ssl_openssl.h b/src/openvpn/ssl_openssl.h index 2eeb716cd..46338c24e 100644 --- a/src/openvpn/ssl_openssl.h +++ b/src/openvpn/ssl_openssl.h @@ -54,6 +54,4 @@ struct key_state_ssl { */ extern int mydata_index; /* GLOBAL */ -void openssl_set_mydata_index(void); - #endif /* SSL_OPENSSL_H_ */