diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-16 16:42:24 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-16 16:42:24 -0700 |
commit | bd0de8217763d02759815b91588cd578becf496b (patch) | |
tree | 769e58102d30bbb80a9f992bd99f0548fbbcb1c9 /src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs | |
parent | eb111f5e257416f359fc06df432f06f53845f0e6 (diff) | |
download | DotNetOpenAuth-bd0de8217763d02759815b91588cd578becf496b.zip DotNetOpenAuth-bd0de8217763d02759815b91588cd578becf496b.tar.gz DotNetOpenAuth-bd0de8217763d02759815b91588cd578becf496b.tar.bz2 |
Added a bit more logging.
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs')
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs b/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs index 87fc8a7..6b46169 100644 --- a/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs +++ b/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs @@ -826,6 +826,7 @@ namespace DotNetOpenAuth.Messaging { cryptoKeyStore.StoreKey(bucket, handle, cryptoKey); } catch (CryptoKeyCollisionException) { ErrorUtilities.VerifyInternal(++failedAttempts < 3, "Unable to derive a unique handle to a private symmetric key."); + Logger.Messaging.Warn("A randomly generated crypto key handle collided with an existing handle. Another randomly generated handle will be attempted till the retry count is met."); goto tryAgain; } } |