1.1 --- a/MYCrypto_Private.h Thu Apr 09 21:36:21 2009 -0700
1.2 +++ b/MYCrypto_Private.h Sun Apr 12 22:16:14 2009 -0700
1.3 @@ -114,6 +114,8 @@
1.4 #undef check
1.5 BOOL check(OSStatus err, NSString *what);
1.6
1.7 +#define checksave(CALL) ({OSStatus err=(CALL); check(err,@""#CALL) || (_error=err, NO);})
1.8 +
1.9 #if !MYCRYPTO_USE_IPHONE_API
1.10 BOOL checkcssm(CSSM_RETURN err, NSString *what);
1.11
1.12 @@ -121,4 +123,7 @@
1.13 SecExternalItemType type,
1.14 SecKeychainRef keychain,
1.15 SecKeyImportExportParameters *params /*non-null*/);
1.16 +
1.17 +NSString* OIDAsString(CSSM_OID OID);
1.18 +
1.19 #endif