]> git.ipfire.org Git - thirdparty/cups.git/commit
Fix trivial deprecations 519/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Fri, 4 Nov 2022 15:12:51 +0000 (11:12 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Tue, 22 Nov 2022 16:44:46 +0000 (11:44 -0500)
commit9f04d166bd440a4685a55dda681d6d5d297c49d4
tree72971a4435ff870a47df5152896eb539727e1b95
parented70b39870b0b8b860fbb5903d282dda039a645f
Fix trivial deprecations

We should use SecTrustCopyCertificateChain and then access the CFArray instead of using the deprecated SecTrustGetCertificateCount

Use xpc_connection_send_message_with_reply_sync instead of xpc_connection_send_message_with_reply.

This also gives us the added benefit of not risking priority inversion, since xpc_connection_send_message_with_reply_sync takes care of that already.

Finally, use RtlGetVersion instead of deprecated GetVersionExA.
backend/ipp.c
cups/tls-darwin.c
cups/usersys.c
scheduler/sysman.c