X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/866f8763175ff60e4fa455b92b5eb660a12fe6c7..07691282a056c4efea71e1e505527601e8cc166b:/OSX/libsecurity_cms/lib/CMSDecoder.h diff --git a/OSX/libsecurity_cms/lib/CMSDecoder.h b/OSX/libsecurity_cms/lib/CMSDecoder.h index f0357bd0..7194f286 100644 --- a/OSX/libsecurity_cms/lib/CMSDecoder.h +++ b/OSX/libsecurity_cms/lib/CMSDecoder.h @@ -318,6 +318,8 @@ OSStatus CMSDecoderCopySignerSigningTime( CFAbsoluteTime *signingTime) /* RETURNED */ __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_NA); +#define TIMESTAMPING_SUPPORTED 1 +#if TIMESTAMPING_SUPPORTED /* * Obtain the timestamp of signer 'signerIndex' of a CMS message, if * present. This timestamp is an authenticated timestamp provided by @@ -368,6 +370,7 @@ OSStatus CMSDecoderCopySignerTimestampCertificates( size_t signerIndex, /* usually 0 */ CFArrayRef * __nonnull CF_RETURNS_RETAINED certificateRefs) /* RETURNED */ __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_NA); +#endif // TIMESTAMPING_SUPPORTED CF_ASSUME_NONNULL_END