Fwd: d2i_PKCS7() error

2006-01-06 Thread Szabolcs Berecz
Hi! I'm not sure if you received this message, so I resend it: I'm trying to parse a PKCS7 structure and it works on linux (0.9.7d) but not on windows (0.9.7e) The error string is: "error:0D07207B:lib(13):func(114):reason(123)", which means "header too long" I have tried d2i_PKCS7, d2i_PKCS7_

Re: Fwd: d2i_PKCS7() error

2006-01-06 Thread Perry L. Jones
I was not able to get windows stuff working until I added CRYPTO_malloc_init(); before SSL_library_init and OpenSSL_add_all_algorithms hope that helps. Perry Szabolcs Berecz wrote: Hi! I'm not sure if you received this message, so I resend it: I'm trying to parse a PKCS7 structure and

Re: Fwd: d2i_PKCS7() error

2006-01-06 Thread Dr. Stephen Henson
On Fri, Jan 06, 2006, Szabolcs Berecz wrote: > Hi! > > I'm not sure if you received this message, so I resend it: > > > > I'm trying to parse a PKCS7 structure and it works on linux (0.9.7d) but not > on windows (0.9.7e) > > The error string is: > "error:0D07207B:lib(13):func(114):reason(123)

Re: Fwd: d2i_PKCS7() error

2006-01-10 Thread Szabolcs Berecz
On 06/01/06, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote: > > Are you opening the file in binary mode? > Of course, not... It's hard to get used to develop under windows. Szabi __ OpenSSL Project