On Fri, Feb 13, 2009 at 4:42 PM, Rafel Coyle <rafel.co...@earthlink.net> wrote:
> I am encrypting prior to encoding.  The encryption coding is below.
>
> Also, I tried the coding changes below that were recommended and got the
> same results.   Any other ideas?

Not at the moment. Given that your error is at position 15 of the
plain text, my first take on this is that it isn't the crypt <->
decrypt going wrong (when that would go wrong, you would expect
trouble starting at some 8-byte boundary), but instead somewhere along
the path where the plaintext either travels into the crypt code our
comes out of the decrypt code.

Given the error is your first piece of code, I'd go a look for other
spots where your length assumptions can be off by one; you might want
to debug/trace through your code and specifically check all the
lengths / byte counts along the while while transporting your data.


-- 
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
--------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to