Skip to content

Commit 08007b8

Browse files
committed
Put variable in macro
1 parent edeb1f5 commit 08007b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IdentityCore/src/workplacejoin/MSIDWorkPlaceJoinUtilBase.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ + (void)setSessionTransportKeyRefFromSecureEnclaveForTenantId:(NSString *)tenant
514514
keyPairWithCert:(MSIDWPJKeyPairWithCert *)keyPairWithCert
515515
context:(id<MSIDRequestContext>)context
516516
{
517-
SecKeyRef transportKeyRef = nil;
518517
#if TARGET_OS_IPHONE
518+
SecKeyRef transportKeyRef = nil;
519519
if (!tenantId)
520520
{
521521
MSID_LOG_WITH_CTX(MSIDLogLevelError, context, @"No tenantId provided to read secure enclave session transport key.");

0 commit comments

Comments
 (0)