]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_ssl/lib/sslCrypto.c
Security-58286.270.3.0.1.tar.gz
[apple/security.git] / OSX / libsecurity_ssl / lib / sslCrypto.c
index 166a105bd02a00fe9425526a82e1d4fd0c065d4d..60362e4a2f5504b6faa8e23e7b5205c76ba4894d 100644 (file)
  */
 CFIndex sslPubKeyGetAlgorithmID(SecKeyRef pubKey)
 {
-#if TARGET_OS_IPHONE
-       return SecKeyGetAlgorithmID(pubKey);
-#else
        return SecKeyGetAlgorithmId(pubKey);
-#endif
 }
 
 /*
@@ -65,11 +61,7 @@ CFIndex sslPubKeyGetAlgorithmID(SecKeyRef pubKey)
  */
 CFIndex sslPrivKeyGetAlgorithmID(SecKeyRef privKey)
 {
-#if TARGET_OS_IPHONE
-       return SecKeyGetAlgorithmID(privKey);
-#else
        return SecKeyGetAlgorithmId(privKey);
-#endif
 }