summaryrefslogtreecommitdiff
path: root/tools/codeformat.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-08-09 13:17:04 +1000
committerDamien George <damien@micropython.org>2023-08-09 13:22:32 +1000
commit20d3a6b1964705596d690182956f56b4f7678041 (patch)
tree548237e1ba98e51356e2503602d4019939818600 /tools/codeformat.py
parent218242d1de781124307be8720a7a9d2f373ca46b (diff)
extmod/modssl_mbedtls: Reject ioctls that are not supported.
An SSL stream can only handle CLOSE and POLL ioctls. Other ones do not make sense, or at least it doesn't make sense to pass the ioctl request directly down to the underlying stream. In particular MP_STREAM_GET_FILENO should not be passed to the underlying stream because the SSL stream is not directly related to a file descriptor, and the SSL stream must handle the polling itself. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions