Ignore:
Timestamp:
Aug 30, 2014, 10:50:41 AM (5 years ago)
Author:
cal@…
Message:

certsync: whitespace only, remove trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/certsync/files/compat.h

    r124891 r124892  
    1717/*
    1818 * Weak Linking Note:
    19  * 
     19 *
    2020 * Correctly linking against weak symbols relies on actually having
    2121 * the symbol available at link time, such that dyld can create its two-level
     
    2626 * function typedefs), allowing the standard approach of checking for
    2727 * symbol != NULL to succeed.
    28  */ 
     28 */
    2929
    3030/* Allow building with SDKs <= 10.4 */
     
    3737    };
    3838    typedef uint32_t SecTrustSettingsDomain;
    39    
     39
    4040    enum {
    4141       kSecTrustSettingsResultInvalid = 0,
     
    4747    typedef uint32_t SecTrustSettingsResult;
    4848    #define kSecTrustSettingsResult          CFSTR("kSecTrustSettingsResult")
    49    
     49
    5050    /* SecCertificateCopyCommonName() was added in 10.5 */
    5151    extern OSStatus SecCertificateCopyCommonName (SecCertificateRef certificate, CFStringRef *commonName) __attribute__((weak_import));
    5252    #define SecCertificateCopyCommonName ((OSStatus(*)(SecCertificateRef, CFStringRef *)) NULL) /* We can't safely weak-link what we don't have */
    53    
     53
    5454    /* SecTrustSettingsCopyCertificates() was added in 10.5 */
    5555    extern OSStatus SecTrustSettingsCopyCertificates (SecTrustSettingsDomain domain, CFArrayRef *certArray) __attribute__((weak_import));
     
    6262    extern CFStringRef SecCopyErrorMessageString (OSStatus status, void *reserved) __attribute__((weak_import));
    6363    #define SecCopyErrorMessageString ((CFStringRef(*)(OSStatus, void *)) NULL) /* We can't safely weak-link what we don't have */
    64    
     64
    6565    /* CFError was added in 10.5 */
    6666    typedef CFTypeRef CFErrorRef;
    67    
     67
    6868    /* errSecNoTrustSettings was added in 10.5 */
    6969    #define errSecNoTrustSettings -25263
     
    7878     * value as the now-deprecated NSDataWritingAtomic */
    7979    #define NSDataWritingAtomic NSAtomicWrite
    80    
     80
    8181    /* SecCertificateCopySubjectSummary() was added in 10.6 */
    8282    extern CFStringRef SecCertificateCopySubjectSummary (SecCertificateRef certificate) __attribute__((weak_import));
     
    105105      CFArrayRef                keyAttributes;
    106106    } SecItemImportExportKeyParameters;
    107    
     107
    108108    extern OSStatus SecItemExport (
    109109       CFTypeRef secItemOrArray,
Note: See TracChangeset for help on using the changeset viewer.