Got some sample data to show which makes the bugger fail? On Thu, Aug 5, 2010 at 4:58 AM, Marc Phillips <rm...@copacetic.net> wrote:
> I mean if try to decode, it stops 15 bytes in. If I read > the original file, and print out byte 15, it's a \n. > > I tried using BIO_FLAGS_BASE64_NO_NL, which then failes on encode. > If I use it only on decode it just goes into an infinte loop of some > kind. > > I'm thinking openssl might not be the most appropriate library for > encoding/decoding files, as it functions fine for simple strings, > but I'm having no luck with files (the file in question is around 5000 > bytes > but could easily be 4 times that size). > > R. Marc > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > -- Met vriendelijke groeten / Best regards, Ger Hobbelt -------------------------------------------------- web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: g...@hobbelt.com mobile: +31-6-11 120 978 --------------------------------------------------