I somehow corrupted the ctx object by overshooting the malloced area as Mark had pointed out. The problem is solved now,
thanks, felix ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]