Frans,
The mistake in your original code is largely due to the
BIO_set_mem_eof_return(mem, 0);
call at the start as that one prevents the bio chain from signaling
'should retry' upon error conditions (such as BIO_mem becoming empty,
due to BIO_read pulling the data out of it).
Instead, things
On Thu January 1 2009, Frank B. Brokken wrote:
> Hi Mike,
>
> Thanks for your postings in reply to my base64 decoding problem. I must admit
> that I saw your first posting only after sending out the reply to William, so
> let's correct that here :-)
>
> In your last posting you wrote:
>
> > Are
Hi Mike,
Thanks for your postings in reply to my base64 decoding problem. I must admit
that I saw your first posting only after sending out the reply to William, so
let's correct that here :-)
In your last posting you wrote:
> Are you stripping the bytes that might appear in the stream
> that do
On Wed December 31 2008, Frank B. Brokken wrote:
> Hi William,
>
> Thanks for your reply. I followed your suggestion and changed the buffer size
> to 480: where the original program shows `500' it now has
> `480'. Unfortunately, after uncommenting the `Doesn't work' section the
> problem remains.
Hi William,
Thanks for your reply. I followed your suggestion and changed the buffer size
to 480: where the original program shows `500' it now has
`480'. Unfortunately, after uncommenting the `Doesn't work' section the
problem remains. Only the first block is decoded. Since 480 clearly fits the
r
3:11 AM
To: openssl-users@openssl.org
Subject: base64 decoding using an s_mem chain
Hi List-members,
The following problem has (in some form) popped up on this list repeatedly,
but after having browsed the archives until the beginning of this century I
didn't encounter (or simply missed?) a
On Tue December 30 2008, Frank B. Brokken wrote:
> Hi List-members,
>
> The following problem has (in some form) popped up on this list repeatedly,
> but after having browsed the archives until the beginning of this century I
> didn't encounter (or simply missed?) a solution for my current problem
Hi List-members,
The following problem has (in some form) popped up on this list repeatedly,
but after having browsed the archives until the beginning of this century I
didn't encounter (or simply missed?) a solution for my current problem, hence
the posting.
For some time now I'm trying to decod