1.1 --- a/MYKeyPair-iPhone.m Sat Apr 04 22:56:13 2009 -0700
1.2 +++ b/MYKeyPair-iPhone.m Thu Apr 09 22:46:48 2009 -0700
1.3 @@ -12,13 +12,13 @@
1.4 #import <CommonCrypto/CommonDigest.h>
1.5
1.6
1.7 -#if USE_IPHONE_API
1.8 +#if MYCRYPTO_USE_IPHONE_API
1.9
1.10
1.11 @implementation MYKeyPair
1.12
1.13
1.14 -+ (MYKeyPair*) _generateKeyPairOfSize: (unsigned)keySize inKeychain: (MYKeychain*)keychain {
1.15 ++ (MYKeyPair*) _generateRSAKeyPairOfSize: (unsigned)keySize inKeychain: (MYKeychain*)keychain {
1.16 Assert( keySize == 512 || keySize == 1024 || keySize == 2048, @"Unsupported key size %u", keySize );
1.17 SecKeyRef pubKey=NULL, privKey=NULL;
1.18 OSStatus err;
1.19 @@ -82,4 +82,4 @@
1.20 @end
1.21
1.22
1.23 -#endif USE_IPHONE_API
1.24 +#endif MYCRYPTO_USE_IPHONE_API