Re: Build libssh against openssl 1.1.0

2016-11-07 Thread Jakub Jelen
On 11/05/2016 05:02 PM, Andreas Schneider wrote: On Wednesday, 2 November 2016 17:58:01 CET Jakub Jelen wrote: Andreas, thank you for the comments. I reworked the patch (attached) to smaller parts that finally build and passes the testsuite in master for both OpenSSL versions (sorry for the firs

Re: Build libssh against openssl 1.1.0

2016-11-07 Thread Andreas Schneider
On Monday, 7 November 2016 10:44:12 CET Jakub Jelen wrote: > On 11/05/2016 05:02 PM, Andreas Schneider wrote: > > On Wednesday, 2 November 2016 17:58:01 CET Jakub Jelen wrote: > >> Andreas, > >> thank you for the comments. I reworked the patch (attached) to smaller > >> parts that finally build and

Re: Possible error in sftp_get_client_message

2016-11-07 Thread Andreas Schneider
On Friday, 13 May 2016 11:16:28 CET Игорь Коваленко wrote: > Hi! > There is a code in sftp_get_client_message > case SSH_FXP_FSTAT: > rc = ssh_buffer_unpack(payload, > "Sd", > &msg->handle, > &msg->flag

Re: Return SSH_EOF in ssh_channel_read_timeout

2016-11-07 Thread Andreas Schneider
On Friday, 13 May 2016 11:13:27 CET Игорь Коваленко wrote: > Hi! > there are such lines in function ssh_channel_read_timeout : > ... > if (channel->remote_eof && buffer_get_rest_len(stdbuf) == 0) { > return 0; > } > It seems in such a case there should be a return of SSH_EOF value. > Is it so o

Re: Build libssh against openssl 1.1.0

2016-11-07 Thread Andreas Schneider
On Monday, 7 November 2016 10:44:12 CET Jakub Jelen wrote: > On 11/05/2016 05:02 PM, Andreas Schneider wrote: > > On Wednesday, 2 November 2016 17:58:01 CET Jakub Jelen wrote: > >> Andreas, > >> thank you for the comments. I reworked the patch (attached) to smaller > >> parts that finally build and