MYPrivateKey.m
changeset 20 df9da0f6b358
parent 14 3af1d1c0ceb5
child 21 2c300b15b381
     1.1 --- a/MYPrivateKey.m	Sun Apr 19 21:19:35 2009 -0700
     1.2 +++ b/MYPrivateKey.m	Fri Jun 05 08:57:18 2009 -0700
     1.3 @@ -236,7 +236,7 @@
     1.4          return [NSData dataWithBytes: sigBuf length: sigLen];
     1.5  #else
     1.6      NSData *signature = nil;
     1.7 -    CSSM_CC_HANDLE ccHandle = [self _createSignatureContext: CSSM_ALGID_SHA256WithRSA];
     1.8 +    CSSM_CC_HANDLE ccHandle = [self _createSignatureContext: CSSM_ALGID_SHA1WithRSA];
     1.9      if (!ccHandle) return nil;
    1.10      CSSM_DATA original = {data.length, (void*)data.bytes};
    1.11      CSSM_DATA result = {0,NULL};