Skip to content

Commit

Permalink
Merge pull request #24 from manu-thomas-87/master
Browse files Browse the repository at this point in the history
Changing the exception type
  • Loading branch information
dazinator committed Jun 11, 2020
2 parents 2fc2b55 + ac41c16 commit 45bb444
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private byte[] Decrypt(byte[] cookieBlob, HashProvider hasher, bool isHashAppend
if (cookieBlob == null)
{
// signature verification failed
throw new Exception("Signature verification failed");
throw new CryptographicException("Signature verification failed");
}
}

Expand Down

0 comments on commit 45bb444

Please sign in to comment.