diff -r f4709533c816 -r 4c0eafa7b233 MYCrypto_Private.h --- a/MYCrypto_Private.h Thu Apr 09 21:36:21 2009 -0700 +++ b/MYCrypto_Private.h Sun Apr 12 22:02:20 2009 -0700 @@ -114,6 +114,8 @@ #undef check BOOL check(OSStatus err, NSString *what); +#define checksave(CALL) ({OSStatus err=(CALL); check(err,@""#CALL) || (_error=err, NO);}) + #if !MYCRYPTO_USE_IPHONE_API BOOL checkcssm(CSSM_RETURN err, NSString *what); @@ -121,4 +123,7 @@ SecExternalItemType type, SecKeychainRef keychain, SecKeyImportExportParameters *params /*non-null*/); + +NSString* OIDAsString(CSSM_OID OID); + #endif