diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-02-14 11:53:23 -0500 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-02-14 11:53:23 -0500 |
commit | fa26ab9573afab69475d60c3eb3e38be3b5a0587 (patch) | |
tree | 761925dce8611b283b37d8370bb92bf239ed73c6 /backend | |
parent | ec7e5bddc7494ad40158b88711f6d2a37cd8c0c8 (diff) | |
download | cups-fa26ab9573afab69475d60c3eb3e38be3b5a0587.tar.gz |
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.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ipp.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 <xpc/private.h> -# 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 */ |