Remove unnecessary null check.

Resolves #210
This commit is contained in:
Nate McMaster 2017-05-01 16:25:44 -07:00
parent febaba8367
commit 53caf55116
1 changed files with 0 additions and 6 deletions

View File

@ -96,12 +96,6 @@ namespace Microsoft.AspNetCore.DataProtection.KeyManagement
throw new ArgumentNullException(nameof(plaintext));
}
// argument & state checking
if (plaintext == null)
{
throw new ArgumentNullException(nameof(plaintext));
}
try
{
// Perform the encryption operation using the current default encryptor.