]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl_ckch: use my_strndup() instead of strndup()
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Apr 2025 15:18:23 +0000 (17:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Apr 2025 15:20:03 +0000 (17:20 +0200)
commit90e9b9d477939f6412f1d15bbcb163b8436f2e25
tree7c7d7d836f1245225970d8605ceb8a7add259b20
parentdd900aead8613af12ea23b18a3e77d28ad42729b
BUILD: ssl_ckch: use my_strndup() instead of strndup()

Not all systems have strndup(), that's why we have our "my_strndup()",
so let's make use of it here. This fixes the build on Solaris 10.
No backport is needed, this was just merged with commit fdcb97614c
("MINOR: ssl/ckch: add substring parser for ckch_conf").
src/ssl_ckch.c