1.1 --- a/MYDigest.m Sat Apr 04 20:42:03 2009 -0700
1.2 +++ b/MYDigest.m Tue Apr 07 10:56:58 2009 -0700
1.3 @@ -11,7 +11,7 @@
1.4 #import "MYCrypto_Private.h"
1.5
1.6
1.7 -#if USE_IPHONE_API
1.8 +#if MYCRYPTO_USE_IPHONE_API
1.9 enum {
1.10 CSSM_ALGID_SHA1 = 8,
1.11 CSSM_ALGID_SHA256 = 0x80000000 + 14
1.12 @@ -53,6 +53,12 @@
1.13 [super dealloc];
1.14 }
1.15
1.16 +- (void) finalize
1.17 +{
1.18 + if(_rawDigest) free(_rawDigest);
1.19 + [super finalize];
1.20 +}
1.21 +
1.22
1.23 - (id) copyWithZone: (NSZone*)zone
1.24 {