found yet another weird peculiarity... In my full application, i need the following lines after both encrypt_file() and decrypt_read(), otherwise i get garbage data:
char err[1024]; ERR_error_string( ERR_get_error(), err ); printf( "%s\n", err ); And err is 0... but without those three lines then i get garbage data decrypted And if i use a format string like ">%s\n" i also get garbage again. HAS to be "%s\n". I have no idea wtf is up with all these bugs but i'm surprised openssl is this glitchy On Fri, Aug 16, 2013 at 11:16 AM, Salz, Rich <rs...@akamai.com> wrote: > **Ø **Seriously - if i just use des instead of des_ede3 in works. that > simple. has got to be a bug**** > > ** ** > > Run your code through something like valgrind**** > > ** ** > > ** ** > > -- **** > > Principal Security Engineer**** > > Akamai Technology**** > > Cambridge, MA**** >