In the 1st example everything is ok, fout points to BIO structure: void main() { BIO *fout; fout=BIO_new(BIO_s_file()); }
BUT if I'll put this code in a separate procedure fout points to nothing: void Encrypt(unsigned char *pass, unsigned char *plaintext) { BIO *fout; fout=BIO_new(BIO_s_file()); } void main() { Encrypt(foo,bar); } Am i missing smth? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]