Re: [Openvpn-devel] Fail on odd number of hex digits in key files

2023-12-08 Thread Reynir
Dear openvpn-devel, Please find an updated version that doesn't hide away the format string in a variable and is instead a string literal. Best, Reynir BjörnssonFrom d7de5af166b50ba6449cdbee58ad93a7d8b52fc7 Mon Sep 17 00:00:00 2001 In-Reply-To: References: From: =?UTF-8?q?Reynir=20Bj=C3=B6rn

[Openvpn-devel] Fail on odd number of hex digits in key files

2023-12-08 Thread Reynir
Dear openvpn-devel, Please find attached a patch that addresses the following bug: When a key file has an odd number of hex digits the last digit is silently ignored. This can easily be tested by adding an extra hex digit at the line before the footer; openvpn does not notice and will use the