]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cms/lib/CMSDecoder.h
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_cms / lib / CMSDecoder.h
index f0357bd03bed4afcf700d4754eaf4bd0a9c6bc2c..7194f28630ddf17b5972deb7d931f5068c3d16b8 100644 (file)
@@ -318,6 +318,8 @@ OSStatus CMSDecoderCopySignerSigningTime(
        CFAbsoluteTime      *signingTime)                       /* RETURNED */
     __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_NA);
 
        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
 /*
  * 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);
        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
 
 
 CF_ASSUME_NONNULL_END