Skip to content

SecCertificateCopyPublicKey deprecated #5

@mouse07410

Description

@mouse07410
src/keychain_pkcs11.c:2568:9: warning: 'SecCertificateCopyPublicKey' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
                ret = SecCertificateCopyPublicKey(id_list[i].cert,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                      SecCertificateCopyKey
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:180:10: note: 
      'SecCertificateCopyPublicKey' has been explicitly marked deprecated here
OSStatus SecCertificateCopyPublicKey(SecCertificateRef certificate, SecKeyRef * __nonnull CF_RETURNS_RETAINED key)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions