Task #1740
Updated by Alex Afanasyev over 10 years ago
KeyChain::getDefaultCertificate() can return 0, while it is expected that it never will do that. This behavior is different from SecPublicInfo::getDefaultCertificate(), which can return 0 to indicate that there is currently no defaultCertificate does not check if the default and KeyChain needs to perform extra actions to create such a default when necessary. certificate has been already set or not (as getDefaultCertificateName does).