On 10 April 2014 13:08, Buddhika E. <[email protected]> wrote:
> Could anybody provide me some solution?
>
> Many Thanks,
> Buddhika
>
> PS: I attached a code sample
>
>
I haven't gone all through your code, but spotted this:
if(!EVP_DecryptUpdate(&ctx, out, &buflen, cipher, strlen(cipher))) {
You can't use strlen on binary data. It doesn't work - you need to
pass the actual length of the data.
Matt
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]