]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_ssl/regressions/ssl-utils.c
Security-57740.51.3.tar.gz
[apple/security.git] / OSX / libsecurity_ssl / regressions / ssl-utils.c
index 73211a51650bf4e3355ca791c191a5b280d9fbc1..1837501a75bcdbdb4e1b6d855e2758432bbbba2a 100644 (file)
@@ -77,6 +77,7 @@ SecKeyRef create_private_key_from_der(bool ecdsa, const unsigned char *pkey_der,
 }
 
 static
+CF_RETURNS_RETAINED
 CFArrayRef chain_from_der(bool ecdsa, const unsigned char *pkey_der, size_t pkey_der_len, const unsigned char *cert_der, size_t cert_der_len)
 {
     SecKeyRef pkey = NULL;