diff -r 3af1d1c0ceb5 -r 90a70925562b MYPrivateKey.m --- a/MYPrivateKey.m Sun Apr 19 21:19:35 2009 -0700 +++ b/MYPrivateKey.m Wed Jun 03 17:20:53 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};