summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs')
-rw-r--r--src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs b/src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs
index 5559a43..0ff7d46 100644
--- a/src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs
+++ b/src/DotNetOpenId/RelyingParty/ApplicationMemoryStore.cs
@@ -14,8 +14,7 @@ namespace DotNetOpenId.RelyingParty {
if (secretSigningKey == null) {
lock (this) {
if (secretSigningKey == null) {
- if (TraceUtil.Switch.TraceInfo)
- Trace.TraceInformation("Generating new secret signing key.");
+ Logger.Info("Generating new secret signing key.");
// initialize in a local variable before setting in field for thread safety.
byte[] auth_key = new byte[64];
new RNGCryptoServiceProvider().GetBytes(auth_key);
@@ -30,8 +29,6 @@ namespace DotNetOpenId.RelyingParty {
List<Nonce> nonces = new List<Nonce>();
public bool TryStoreNonce(Nonce nonce) {
- if (TraceUtil.Switch.TraceVerbose)
- Trace.TraceInformation("Storing nonce: {0}", nonce.Code);
lock (this) {
if (nonces.Contains(nonce)) return false;
nonces.Add(nonce);