Re: [Openvpn-devel] [PATCH v2] Silence warning about format string in check_ca_required

2021-06-09 Thread Selva Nair
Hi On Wed, Jun 9, 2021 at 2:15 AM Antonio Quartulli wrote: > From: Arne Schwabe > > clang does not like if the format argument of printf like function > is not a string literal (or constant): > > warning: format string is not a string literal (potentially insecure) > > Make the format string co

[Openvpn-devel] [PATCH v2] Silence warning about format string in check_ca_required

2021-06-08 Thread Antonio Quartulli
From: Arne Schwabe clang does not like if the format argument of printf like function is not a string literal (or constant): warning: format string is not a string literal (potentially insecure) Make the format string constant to silence the warning. Signed-off-by: Arne Schwabe Signed-off-by: