[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libssh 0.4.0rc1


Hi Alexander,

I just looked. The two lines doing errors are:

  crypto->cbc_encrypt(crypto, data, out, len,
      session->current_crypto->encryptIV);

gcc bitches about a macro but there is no macro there. I suspect cbc_encrypt is declared as a macro somewhere in openssl's headers. There's something in crypto.h meant to avoid this but seems it got overwritten.

Could you test this patch ?

thanks !

Aris

Alexander Logvinov a écrit :
Hello!

On 30.10.2009 03:29 Andreas Schneider wrote:
Please download the new libssh at the following address and test it:
http://www.libssh.org/files/libssh-0.3.91.tar.gz
 It doesn't build with OpenSSL on FreeBSD 6 (i386/amd64):
http://tb.logvinov.com/errors/6-STABLE-dev/libssh-0.3.91.log

# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305

 Feel free to ask me if you need more information. Thanks!

Best regards,
Alexander

diff -r libssh-0.3.91/libssh/crypt.c libssh-0.3.91-2/libssh/crypt.c
40d39
< #include "libssh/crypto.h"
42a42
> #include "libssh/crypto.h"

Follow-Ups:
Re: libssh 0.4.0rc1Alexander Logvinov <avl@xxxxxxxxxxxx>
References:
Re: libssh 0.4.0rc1Alexander Logvinov <avl@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org