Re: base64 encode/decode

2005-11-02 Thread Nils Larsch
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

RE: base64 encode/decode

2005-11-01 Thread Adam Jones
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

RE: base64 encode/decode

2005-11-01 Thread Patrick Guio
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

RE: base64 encode/decode

2005-11-01 Thread Adam Jones
cout << endl; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Guio Sent: Tuesday, November 01, 2005 3:46 AM To: openssl-users@openssl.org Subject: base64 encode/decode Dear all, I am trying to base64-encode/decode a string using the BIO AP

base64 encode/decode

2005-11-01 Thread Patrick Guio
Dear all, I am trying to base64-encode/decode a string using the BIO API. The man page for BIO_f_base64 provides examples to "base64 encode a string and write the result to standard output" and "read base64 encoded data from standard input and write the decoded data to standar

RE: Base64 encode/decode

2001-09-16 Thread Daniel Garcia
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