Gert Doering has uploaded a new patch set (#2) to the change originally created 
by Răzvan Cojocaru. ( https://gerrit.openvpn.net/c/openvpn/+/2117?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by Frank Lichtenheld


Change subject: tls_crypt: print tls-crypt-v2 client key hint before CRYPT_ERROR
......................................................................

tls_crypt: print tls-crypt-v2 client key hint before CRYPT_ERROR

CRYPT_ERROR() jumps to error_exit, so the hint about a client key
generated for a different server key was never printed. Log it first,
and drop a stray ')' from it.

Broken since 7a477c16 ("Print a more user-friendly error when
tls-crypt-v2 client auth fails").

Change-Id: Icab02b28773a409821fa9b80ccb1560d2796d1df
Signed-off-by: Razvan Cojocaru <[email protected]>
Acked-by: Frank Lichtenheld <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2117
Message-Id: <[email protected]>
URL: 
https://www.mail-archive.com/[email protected]/msg40810.html
Signed-off-by: Gert Doering <[email protected]>
---
M src/openvpn/tls_crypt.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/17/2117/2

diff --git a/src/openvpn/tls_crypt.c b/src/openvpn/tls_crypt.c
index 08d9fcd..64db29f 100644
--- a/src/openvpn/tls_crypt.c
+++ b/src/openvpn/tls_crypt.c
@@ -493,9 +493,9 @@
     {
         dmsg(D_CRYPTO_DEBUG, "tag      : %s", format_hex(tag, 
sizeof(tag_check), 0, &gc));
         dmsg(D_CRYPTO_DEBUG, "tag_check: %s", format_hex(tag_check, 
sizeof(tag_check), 0, &gc));
-        CRYPT_ERROR("client key authentication error");
         msg(D_TLS_DEBUG_LOW, "This might be a client-key that was generated 
for "
-                             "a different tls-crypt-v2 server key)");
+                             "a different tls-crypt-v2 server key");
+        CRYPT_ERROR("client key authentication error");
     }

     if (BLENZ(&plaintext) < sizeof(client_key->keys))

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2117?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Icab02b28773a409821fa9b80ccb1560d2796d1df
Gerrit-Change-Number: 2117
Gerrit-PatchSet: 2
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to