diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-28 23:36:16 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-28 23:36:16 -0800 |
commit | 9b403a0a59e0385e5a2a7e95e3053de7f0e90a34 (patch) | |
tree | bb442d5fe9cc176446f987e8281b00836662fb26 | |
parent | 10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a (diff) | |
download | DotNetOpenAuth-9b403a0a59e0385e5a2a7e95e3053de7f0e90a34.zip DotNetOpenAuth-9b403a0a59e0385e5a2a7e95e3053de7f0e90a34.tar.gz DotNetOpenAuth-9b403a0a59e0385e5a2a7e95e3053de7f0e90a34.tar.bz2 |
Fixes NullReferenceException in MessageValidationBindingElement.
-rw-r--r-- | src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs index ae7aa8b..823baaf 100644 --- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs +++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/MessageValidationBindingElement.cs @@ -71,7 +71,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements { ErrorUtilities.VerifyProtocol(accessTokenRequest.GrantType != GrantType.ClientCredentials || accessTokenResponse.RefreshToken == null, OAuthStrings.NoGrantNoRefreshToken); } - return null; + return MessageProtectionTasks.Null; } /// <summary> |