Skip to content
This repository was archived by the owner on Oct 17, 2018. It is now read-only.

Commit e7fa69d

Browse files
author
Nate McMaster
committed
Minor cleanup: remove unnecessary conditional compilation line
1 parent 5d22a42 commit e7fa69d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptorFactory.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
@@ -88,13 +88,12 @@ private Func<SymmetricAlgorithm> GetSymmetricBlockCipherAlgorithmFactory(Managed
8888
if (configuration.EncryptionAlgorithmType == typeof(Aes))
8989
{
9090
Func<Aes> factory = null;
91-
#if !NETSTANDARD1_3
9291
if (OSVersionUtil.IsWindows())
9392
{
9493
// If we're on desktop CLR and running on Windows, use the FIPS-compliant implementation.
9594
factory = () => new AesCryptoServiceProvider();
9695
}
97-
#endif
96+
9897
return factory ?? Aes.Create;
9998
}
10099
else

0 commit comments

Comments
 (0)