Message391530
Could we have the address exposed in a way that can only be passed back into ctypes? Or alternatively, doesn't function if ctypes is missing?
I don't like offering ways to get real memory addresses, especially for interesting objects. At the same time, I see the value of it being available raw for CFFI and other tools that can use it.
Maybe it would be better to expose it as ctx._call_with_ctypes("SSL_CTX_set_ciphersuites", b"TLS_CHACHA20_POLY1305_SHA256")? That also leaves the opportunity to special-case certain functions in the future. |
|
Date |
User |
Action |
Args |
2021-04-21 17:09:35 | steve.dower | set | recipients:
+ steve.dower, christian.heimes, njs |
2021-04-21 17:09:35 | steve.dower | set | messageid: <1619024975.18.0.927311064395.issue43902@roundup.psfhosted.org> |
2021-04-21 17:09:35 | steve.dower | link | issue43902 messages |
2021-04-21 17:09:35 | steve.dower | create | |
|