summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hintz <t@thintz.com>2015-04-18 10:57:27 -0700
committerThomas Hintz <t@thintz.com>2015-04-18 10:57:27 -0700
commit7f0b9d28734b173c66657e3b0a29a117dae7e51f (patch)
tree3fdf2caf94f87f97b9c084c0902b921b4ed01281
parent5816661ebfb0c1f3d04793e323aeb0ffae48b949 (diff)
downloadwebsockets-7f0b9d28734b173c66657e3b0a29a117dae7e51f.tar.gz
Removing bogus length check.
-rw-r--r--websockets.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/websockets.scm b/websockets.scm
index 51d9692..11c6355 100644
--- a/websockets.scm
+++ b/websockets.scm
@@ -192,8 +192,6 @@
(define-external wsv scheme-pointer payload)
((foreign-lambda* void ()
"
- if (wslen > UINT_MAX) { return -1; }
-
const unsigned char* maskkey2 = wsmaskkey;
const unsigned int kd = *(unsigned int*)maskkey2;
const unsigned char* __restrict kb = maskkey2;