diff -r 3af1d1c0ceb5 -r f6c91b9da05b MYPublicKey.m --- a/MYPublicKey.m Sun Apr 19 21:19:35 2009 -0700 +++ b/MYPublicKey.m Thu Jun 04 18:36:30 2009 -0700 @@ -70,7 +70,7 @@ return err==noErr; #else - CSSM_CC_HANDLE ccHandle = [self _createSignatureContext: CSSM_ALGID_SHA256WithRSA]; + CSSM_CC_HANDLE ccHandle = [self _createSignatureContext: CSSM_ALGID_SHA1WithRSA]; if (!ccHandle) return NO; CSSM_DATA original = {data.length, (void*)data.bytes}; CSSM_DATA sig = {signature.length, (void*)signature.bytes};