]> git.ipfire.org Git - thirdparty/curl.git/commit
libssh: improve the deprecation warning dismissal
authorTheo <theo@trustwa.re>
Thu, 14 Dec 2023 12:53:23 +0000 (13:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 14 Dec 2023 17:05:53 +0000 (18:05 +0100)
commitd21bd2190c46ad7fa744cc65b6172fafb13ca0be
tree5adb37c02d4fd112b32810d8956e287dd0b9682d
parentde0cd5e8e7c9a0cbf28c4a9dec998ad4b6dfa08c
libssh: improve the deprecation warning dismissal

Previous code was compiler dependant, and dismissed all deprecation warnings
indiscriminately.

libssh provides a way to disable the deprecation warnings for libssh only, and
naturally this is the preferred way.

This commit uses that, to prevent the erroneous hiding of potential, unrelated
deprecation warnings.

Fixes #12519
Closes #12520
lib/vssh/libssh.c