On 7 Aug, 2008, at 12:54, Sebastian Hilbert wrote:

On Montag 04 August 2008, Heikki Toivonen wrote:
Sebastian Hilbert wrote:
Hmm, Sure. I am wondering how to proceed as the chandler rc1 works it
must be a library problem. do you agree that it is openssl m2crypto
related ?

That function is declared in openssl 0.9.8.g at least: openssl/ evp.h:int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx);. It is used in one
location in M2Crypto source code.

Is it declared and defined in the patched OpenSUSE OpenSSL sources?

It is not defined in the source code you ship with chandler. openssl 0.9.8d

Hmm ... I see it as a #define in 0.9.8d:

bash$ find openssl-0.9.8d -type f -name '*.h'| xargs grep EVP_CIPHER_CTX_block_size openssl-0.9.8d/crypto/evp/evp.h:454:#define EVP_CIPHER_CTX_block_size(e) ((e)->cipher->block_size)

--Grant



I can find it in 0.9.8 h and it looks like this:

int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
#define EVP_CIPHER_name(e)              OBJ_nid2sn(EVP_CIPHER_nid(e))
int EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
int EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher);
#define EVP_CIPHER_mode(e) (EVP_CIPHER_flags(e) & EVP_CIPH_MODE)

const EVP_CIPHER * EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx);
void * EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx);
void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data);
#define EVP_CIPHER_CTX_type(c)
EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c))
unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx);
#define EVP_CIPHER_CTX_mode(e)           (EVP_CIPHER_CTX_flags(e) &
EVP_CIPH_MODE)



--
Sebastian Hilbert
Leipzig / Germany
[www.gnumed.de]  -> PGP welcome, HTML ->/dev/null
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to