diff -r 3af1d1c0ceb5 -r df9da0f6b358 MYPrivateKey.m --- a/MYPrivateKey.m Sun Apr 19 21:19:35 2009 -0700 +++ b/MYPrivateKey.m Fri Jun 05 08:57:18 2009 -0700 @@ -236,7 +236,7 @@ return [NSData dataWithBytes: sigBuf length: sigLen]; #else NSData *signature = nil; - CSSM_CC_HANDLE ccHandle = [self _createSignatureContext: CSSM_ALGID_SHA256WithRSA]; + CSSM_CC_HANDLE ccHandle = [self _createSignatureContext: CSSM_ALGID_SHA1WithRSA]; if (!ccHandle) return nil; CSSM_DATA original = {data.length, (void*)data.bytes}; CSSM_DATA result = {0,NULL};