From fa26ab9573afab69475d60c3eb3e38be3b5a0587 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 14 Feb 2019 11:53:23 -0500 Subject: Eliminate use of private macOS security headers/APIs (Issue #5516) Eliminate use of deprecated cssmErrorString function. Switch to using SecCertificateCreateWithData. Clean out unused private header availability checks. --- backend/ipp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'backend') diff --git a/backend/ipp.c b/backend/ipp.c index d23569830..e91f7684c 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -1,7 +1,7 @@ /* * IPP backend for CUPS. * - * Copyright © 2007-2018 by Apple Inc. + * Copyright © 2007-2019 by Apple Inc. * Copyright © 1997-2007 by Easy Software Products, all rights reserved. * * Licensed under Apache License v2.0. See the file "LICENSE" for more @@ -23,12 +23,8 @@ # define kPMPrintUIToolAgent "com.apple.printuitool.agent" # define kPMStartJob 100 # define kPMWaitForJob 101 -# ifdef HAVE_XPC_PRIVATE_H -# include -# else extern void xpc_connection_set_target_uid(xpc_connection_t connection, uid_t uid); -# endif /* HAVE_XPC_PRIVATE_H */ #endif /* HAVE_GSSAPI && HAVE_XPC */ -- cgit v1.2.1