Re: [Openvpn-devel] [PATCH] Improve data key id not found error message

2022-08-24 Thread Frank Lichtenheld
On Wed, Aug 24, 2022 at 11:37:23AM +0200, Arne Schwabe wrote: > With delayed data key generation now with deferred auth, NCP and similar > mechanism the "TLS Error: local/remote TLS keys are out of sync" is shown > much too frequent and confuses a lot of people. > > This also removes the dead code

[Openvpn-devel] [PATCH] Improve data key id not found error message

2022-08-24 Thread Arne Schwabe
With delayed data key generation now with deferred auth, NCP and similar mechanism the "TLS Error: local/remote TLS keys are out of sync" is shown much too frequent and confuses a lot of people. This also removes the dead code of printing multi not ready keys and replace it with an assert. Factor