summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-16 16:42:24 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-16 16:42:24 -0700
commitbd0de8217763d02759815b91588cd578becf496b (patch)
tree769e58102d30bbb80a9f992bd99f0548fbbcb1c9 /src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs
parenteb111f5e257416f359fc06df432f06f53845f0e6 (diff)
downloadDotNetOpenAuth-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.cs1
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;
}
}