From 5b633898b3c035fcc1761eaa10d7263cfa20f1d1 Mon Sep 17 00:00:00 2001 From: Kevin Harwood Date: Sat, 6 Apr 2013 11:33:29 -0500 Subject: [PATCH] Clean up --- AFNetworking/AFURLConnectionOperation.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AFNetworking/AFURLConnectionOperation.m b/AFNetworking/AFURLConnectionOperation.m index 0ecbdb8..f7dd75c 100644 --- a/AFNetworking/AFURLConnectionOperation.m +++ b/AFNetworking/AFURLConnectionOperation.m @@ -222,8 +222,7 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat status = SecTrustEvaluate(allowedTrust, &result); NSAssert(status == noErr, @"SecTrustEvaluate error: %ld", (long int)status); - SecKeyRef allowedPublicKey = SecTrustCopyPublicKey(allowedTrust); - + SecKeyRef allowedPublicKey = SecTrustCopyPublicKey(allowedTrust); NSCParameterAssert(allowedPublicKey); [publicKeys addObject:(__bridge_transfer id)allowedPublicKey];