Please take a look at

   http://cr.openjdk.java.net/~weijun/8136425/webrev.00/ 
<http://cr.openjdk.java.net/~weijun/8136425/webrev.00/>

It looks like a wrong type is used, kSecFormatX509Cert and 
kSecFormatWrappedPKCS8 are of SecExternalFormat and the SecKeychainItemImport 
function also uses this type for its 3rd argument. Constants and function are 
all defined in

   
http://www.opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-40768/lib/SecImportExport.h
 
<http://www.opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-40768/lib/SecImportExport.h>

It is an enum, so still works.

Thanks
Max

Reply via email to