s negative).
One possible fix: Change "char *ptr = buf;" to "unsigned char *ptr = buf;",
then you should get the expected output.
Regards,
Andrew.
From: openssl-users [mailto:openssl-users-boun...@openssl.org]
On Behalf Of Venkata Veldanda via openssl-users
Hi Experts,
I am using openssl 1.0.2
I recently moved my app from a PPC to x86 platform (application is compiled on
the respective platform) where I met an issue with BIO_read().
I read a 20bytes of data using BIO_read like following..
int res = BIO_read(bio, buf, 20);char *ptr = buf;
The con