[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libssh 0.4.0rc1
  [Thread Prev] | [Thread Next]
 
 
- Subject: Re: libssh 0.4.0rc1
 - From: Alexander Logvinov <avl@xxxxxxxxxxxx>
 - Reply-to: libssh@xxxxxxxxxx
 - Date: Mon, 02 Nov 2009 23:47:37 +0800
 - To: libssh@xxxxxxxxxx
 
Hello! On 02.11.2009 22:45 Aris Adamantiadis wrote: > 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. Yes, you are right: $ fgrep -R des_cbc_encrypt * crypto/openssl/crypto/des/des_old.h:#define des_cbc_encrypt(i,o,l,k,iv,e)\ crypto/openssl/crypto/des/des_old.h:#define des_cbc_encrypt(i,o,l,k,iv,e)\ crypto/openssl/crypto/des/des_old.h: _ossl_old_des_cbc_encrypt((i),(o),(l),(k),(iv),(e)) crypto/openssl/crypto/des/des_old.h:void _ossl_old_des_cbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long length, crypto/openssl/crypto/des/des_old.h:# define cbc_encrypt des_cbc_encrypt > Could you test this patch ? Unfortunately this didn't help. Thanks! Best regards, Alexander
| Re: libssh 0.4.0rc1 | Alexander Logvinov <avl@xxxxxxxxxxxx> | 
| Re: libssh 0.4.0rc1 | Alexander Logvinov <avl@xxxxxxxxxxxx> | 
| Re: libssh 0.4.0rc1 | Aris Adamantiadis <aris@xxxxxxxxxxxx> |