Hi,

On Mon, Feb 16, 2026 at 10:54:13AM +0000, Rudi Heitbaum via Openvpn-devel wrote:
> Since glibc-2.43:
> 
> For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
> strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers
> into their input arrays now have definitions as macros that return a
> pointer to a const-qualified type when the input argument is a pointer
> to a const-qualified type.
> 
> fixes:
>     src/openvpn/ntlm.c: In function 'ntlm_phase_3':
>     src/openvpn/ntlm.c:241:15: warning: assignment discards 'const' qualifier 
> from pointer target type [-Wdiscarded-qualifiers]
>       241 |     separator = strchr(p->up.username, '\\');
>           |               ^
> 
> Signed-off-by: Rudi Heitbaum <[email protected]>
> 
> diff --git a/src/openvpn/dns.c b/src/openvpn/dns.c
> index c00d4b9c..38739923 100644
> --- a/src/openvpn/dns.c
> +++ b/src/openvpn/dns.c

Not sure how you managed to send the dns.c patch twice, once with the
"ntlm" header...?

Please resend (with a "-v2" tag) and ensure that we get 1x ntlm.c and
1x dns.c :-)

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to