From 573ee0b5849262bea7a3fb0f0ffc2006dc344fd4 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 22 Dec 2016 20:34:06 -0500 Subject: [PATCH] fixed typo --- HTTPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTPServer.cpp b/HTTPServer.cpp index af5dfe73..48ec9bd2 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -775,7 +775,7 @@ namespace http { { uint32_t token; RAND_bytes ((uint8_t *)&token, 4); - token |= 0x7FFFFFFF; // clear first bit + token &= 0x7FFFFFFF; // clear first bit auto ts = i2p::util::GetSecondsSinceEpoch (); for (auto it = m_Tokens.begin (); it != m_Tokens.end (); ) {