Skip to contentSkip to conversation

ssh_openssl.h: remove unused declaration

PATCH In review Lev Stipakov 2 participants 2 messages Dec 1, 2021 – Dec 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ssh_openssl.h: remove unused declaration

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

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.

---
 src/openvpn/ssl_openssl.h | 2 --
 1 file changed, 2 deletions(-)
src/openvpn/ssl_openssl.h +0 -2
index 2eeb716c..46338c24 100644
@@ -54,6 +54,4 @@ struct key_state_ssl {
  */
 extern int mydata_index; /* GLOBAL */
 
-void openssl_set_mydata_index(void);
-
 #endif /* SSL_OPENSSL_H_ */
Signature · 1 line
2.23.0.windows.1
Acked-by on v1 1/1
#1 lore raw

"easy enough". "Git grep" confirms.

Your patch has been applied to the master and release/2.5 branch.

commit b939fdcfb669bdd57b33e70fd2a2718fcfa626c9 (master) commit c237d49ec52241edb6b1a839baae04bdb37f8bd0 (release/2.5)

Author: Lev Stipakov
Date:   Wed Dec 1 11:20:02 2021 +0200
     ssh_openssl.h: remove unused 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]/msg23269.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering