Changes between Initial Version and Version 1 of Ticket #59397, comment 31


Ignore:
Timestamp:
Oct 25, 2019, 9:47:51 PM (5 years ago)
Author:
Ionic (Mihai Moldovan)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59397, comment 31

    initial v1  
    11`CFString` is way old. The latter webpage lists 10.0(!) as the first supported version.
    22
    3 Hmm, `kSecReturnAttributes` doesn't make sense... the (ObjC) documentation says "Boolean" and the discussion also mentions `CFBooleanRef`, but the prototype really lists `CFStringRef`. Oddly the code compiles fine on my 10.9 machine, and the actual prototype in the header file says `const CFTypeRef`, which is an untyped version used as a placeholder. The bridgesupport file also lists its type as "@" which sounds like a `CFBooleanRef` to me...
     3Hmm, `kSecReturnAttributes` doesn't make sense... the (ObjC) documentation says "Boolean" and the discussion also mentions `CFBooleanRef`, but the prototype really lists `CFStringRef`. Oddly the code compiles fine on my 10.9 machine, and the actual prototype in the header file says `const CFTypeRef`, which is an untyped version used as a placeholder. The bridgesupport file also lists its type as "@" which sounds like a `CFBooleanRef` (or just any `*Ref`, really?) to me...
    44
    55Then again, looking at the most recent version of [https://opensource.apple.com/source/Security/Security-58286.260.20/keychain/SecItem.h.auto.html SecItem.h] in the Security framework, they really did change the declaration to `CFStringRef` for whatever reason. I really don't get it.