Skip to contentSkip to conversation

fixup: change init_key_type() param name in declaration too

PATCH In review Steffan Karger 2 participants 2 messages Apr 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup: change init_key_type() param name in declaration too

Commit 66407e11 changed the name of the cfb_ofb_allowed parameter of the init_key_type() implementation to 'tls_mode', but forgot to do the same in the function declaration.

---
 src/openvpn/crypto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/crypto.h +1 -1
index d3e08c1..63d7040 100644
@@ -297,7 +297,7 @@ int read_key (struct key *key, const struct key_type *kt, struct buffer *buf);
 
 void init_key_type (struct key_type *kt, const char *ciphername,
     bool ciphername_defined, const char *authname, bool authname_defined,
-    int keysize, bool cfb_ofb_allowed, bool warn);
+    int keysize, bool tls_mode, bool warn);
 
 /*
  * Key context functions
Signature · 1 line
2.5.0
#1 lore raw

ACK. Obviously correct :)

Your patch has been applied to the master branch.

commit 0f99269711e2aa8a2f88c5991381ea7e52c7485e

Author: Steffan Karger
Date:   Sun Apr 17 11:56:20 2016 +0200
     fixup: change init_key_type() param name in declaration too

     Signed-off-by: Steffan Karger <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: http://article.gmane.org/gmane.network.openvpn.devel/11445
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering