keychain: use SearchCopyNext keychain enumeration for System certs as well
authorMartin Willi <martin@revosec.ch>
Wed, 1 May 2013 08:37:49 +0000 (10:37 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 10:17:54 +0000 (12:17 +0200)
commitdcd8bdde4f19646da0ca9a51a58eb140ade2f697
tree6e51dca0db46c43346775cc2b954a448405f690d
parent0bdd453392d87dc96decd2e8ab80412b1a523f6d
keychain: use SearchCopyNext keychain enumeration for System certs as well

SecItemCopyMatching seems to be problematic regarding memory management. And
as there does not seem to be a good alternative to enumerate the System Roots
keychain using the SecItemCopyMatching API, we stick to the deprecated
enumeration functions for now.
src/libstrongswan/plugins/keychain/keychain_creds.c