[Chandler-dev] Chandler on OpenSUSE - part four

Sebastian Hilbert sebastian.hilbert at gmx.net
Thu Aug 7 12:54:37 PDT 2008

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

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)         
unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx);
#define EVP_CIPHER_CTX_mode(e)           (EVP_CIPHER_CTX_flags(e) & 

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

More information about the chandler-dev mailing list