diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-12-16 10:06:34 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-12-16 10:06:34 +0100 |
commit | 6946118644bc1d18e99de13b4a93b2026e3560a4 (patch) | |
tree | 37c9d2587c7c70c772d821f9bd8936035eddf908 /sys/src/9/kw | |
parent | 35484945e2f782fe312fcae4f0269b80c4184367 (diff) |
devssl: use parsecmd() to process control message to get rid of 128 byte stack buffer limit
(11:02:29 PM) me: why is buf in /sys/src/9/port/devssl.c:/^sslwrite only 128 bytes?
(11:02:58 PM) me: it makes it so you can't use a 128 bytes secret as negotiated by infauth in a secretin or secretout ctl message
(11:03:30 PM) me: which in turn means you can't use such a secret with pushssl(2)
(11:06:15 PM) me: inferno's sslwrite is limited to 32 bytes, but its ssl library writes to the secret files instead of to the ctl file
(11:08:50 PM) mischief: what should it be instead of 128 bytes
(11:08:58 PM) me: larger
(11:09:16 PM) mischief: how about 129 bytes?
(11:09:59 PM) me: also broken in 9front, by the way
(11:15:14 PM) me: i guess it should be replaced with parsecmd
Diffstat (limited to 'sys/src/9/kw')
0 files changed, 0 insertions, 0 deletions