[Openvpn-devel] duplicate function declaration.

Message ID 1623115970-9186-1-git-send-email-os.gv.ll@gmail.com
State Accepted
Headers show
Series
  • [Openvpn-devel] duplicate function declaration.
Related show

Commit Message

Jeff June 8, 2021, 1:32 a.m.
---
 src/openvpn/crypto_backend.h | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Gert Doering June 8, 2021, 6:09 a.m. | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

Thanks.  Seems someone from the core team really loves this function!

Your patch has been applied to the master branch.

For the next patch, please take care of a few things

 - do the git commit with "-s", to get the "signed-off-by:" line
 - your git setup is missing a configured real name ("Jeff")

commit 5ebbe100df98fc9e3774947a37aeca4c0d49d809
Author: Jeff
Date:   Tue Jun 8 09:32:50 2021 +0800

     duplicate function declaration.

     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <1623115970-9186-1-git-send-email-os.gv.ll@gmail.com>
     URL: https://www.mail-archive.com/search?l=mid&q=1623115970-9186-1-git-send-email-os.gv.ll@gmail.com
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/src/openvpn/crypto_backend.h b/src/openvpn/crypto_backend.h
index 35cd918..af123d0 100644
--- a/src/openvpn/crypto_backend.h
+++ b/src/openvpn/crypto_backend.h
@@ -88,18 +88,6 @@  void crypto_init_dmalloc(void);
 
 #endif /* DMALLOC */
 
-/**
- * Translate a data channel cipher name from the OpenVPN config file
- * 'language' to the crypto library specific name.
- */
-const char *translate_cipher_name_from_openvpn(const char *cipher_name);
-
-/**
- * Translate a data channel cipher name from the crypto library specific name
- * to the OpenVPN config file 'language'.
- */
-const char *translate_cipher_name_from_openvpn(const char *cipher_name);
-
 void show_available_ciphers(void);
 
 void show_available_digests(void);