]> granicus.if.org Git - python/commit
Commit parts of SF patch #462759
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 11 Oct 2001 17:23:34 +0000 (17:23 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 11 Oct 2001 17:23:34 +0000 (17:23 +0000)
commitba69936037788ddf0cf43047ecb5c3a00af20628
tree58e57cf65561bbf0be0dca382475ac5b10b47fcb
parentae0013d3aa136bef90ab4f69d3d735cc2ed0aed1
Commit parts of SF patch #462759

Use #define X509_NAME_MAXLEN for server/issuer length on an SSL
object.

Update doc strings for socket.ssl() and ssl methods read() and
write().

PySSL_SSLwrite(): Check return value and raise exception on error.
Use int for len instead of size_t.  (All the function the size_t obj
was passed to our from expected an int!)

PySSL_SSLread(): Check return value of PyArg_ParseTuple()!  More
robust checks of return values from SSL_read().
Modules/socketmodule.c