[Bug 692589] Re: Bug in libssl-dev package, pem.h

2010-12-20 Thread Alexander Kabakow
I think declaration of macro PEM_ASN1_write_bio_of in pem.h:595 should be #define PEM_ASN1_write_bio_of(type,i2d,name,bp,x,enc,kstr,klen,cb,u) \ (PEM_ASN1_write_bio(CHECKED_I2D_OF(type, i2d), \ name, bp, \ (char*)CHECKED_PTR_OF(t

[Bug 692589] Re: Bug in libssl-dev package, pem.h

2010-12-20 Thread Alexander Kabakow
Here is declaration of PEM_ASN1_write_bio function: int PEM_ASN1_write_bio(i2d_of_void *i2d,const char *name,BIO *bp,char *x, const EVP_CIPHER *enc,unsigned char *kstr,int klen, pem_password_cb *cb, void *u); And argument 4 type is char*,