New submission from Christian Heimes <li...@cheimes.de>:
SSL_read() and SSL_write() are limited to int. The new SSL_write_ex() and SSL_read_ex() APIs support size_t just like read(2) and recv(2). Also see bpo-42853. int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written); int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes); Both functions return 1 for success or 0 for failure. ---------- assignee: christian.heimes components: SSL messages: 384567 nosy: christian.heimes priority: normal severity: normal status: open title: OpenSSL 1.1.1: use SSL_write_ex() and SSL_read_ex() type: enhancement versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42854> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com