diff options
Diffstat (limited to 'OpenSSL/ssl/connection.c')
-rwxr-xr-x | OpenSSL/ssl/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSSL/ssl/connection.c b/OpenSSL/ssl/connection.c index f7994a3..ebbe39f 100755 --- a/OpenSSL/ssl/connection.c +++ b/OpenSSL/ssl/connection.c @@ -1300,7 +1300,8 @@ ssl_Connection_set_session(ssl_ConnectionObj *self, PyObject *args) { } if (SSL_set_session(self->ssl, session->session) == 0) { - /* XXX Under what conditions does this fail? I have no idea. + /* The only case which leads to this seems to be a mismatch, between + * this connection and the session, of the SSL method. */ exception_from_error_queue(ssl_Error); return NULL; |