Patrick Guio wrote:
...
I think there is a typo in the code snippet on the webpage
http://www.openssl.org/docs/crypto/BIO_f_base64.html#
The statement while((inlen = BIO_read(bio, inbuf, 512) > 0)
should read
while((inlen = BIO_read(bio, inbuf, 512)) > 0)
I've committed a fix for the underlying
Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick Guio
Sent: Tuesday, November 01, 2005 9:51 AM
To: Adam Jones
Cc: openssl-users@openssl.org
Subject: RE: base64 encode/decode
On Tue, 1 Nov 2005, Adam Jones wrote:
> I had the same prob
On Tue, 1 Nov 2005, Adam Jones wrote:
I had the same problem. It took me a few days to figure it all out. Here is
my sample code that works. Let me know if you have any questions. Hope this
helps.
Hi Adams,
Thank you very much indeed! I have changed the message and encoded/decoded
messages t
I had the same problem. It took me a few days to figure it all out. Here is
my sample code that works. Let me know if you have any questions. Hope this
helps.
void main()
{
BIO *bmem, *b64, *bmem2, *b642;
BUF_MEM *bptr;
char inbuff[21];
char outbuff[12];
cha
Is it possible to decode a base64 string( in this
case a CSR), change some plain characters such as the State value, and then
encode it again? I'm trying to do this with PERL using the MIME:Base64 module.
However, everytime i encode it again the CSR seems to become corrupt because
'openssl r