Using VC++ is your first problem... :)
The call to BIO_push is your problem. You overwrite your reference to
the b64 BIO with another reference to the mem BIO. So now, b64 points
to mem.
Do this:
int main()
{
BIO *bmem, *b64;
char message[] = "Hello World \n";
int written = 0;
Adam Jones wrote:
Visual C++ did not complain nor did it error out when it ran, but you are
correct it does take a BUF_MEM structure. I also added another BIO method to
the code. I also read that section in the book you suggested. I also made
the code simple, but it appears that it still does not
Freshly installed and patched Solaris 8 x86 system
# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.8/3.4.2/specs
Configured with:
...
Doing certs
Segmentation Fault - core dumped
argena.pem => .0
Segmentation Fault - core dumped
Any suggestions?
./PROBLEMS, "triggered gcc bugs.
Visual C++ did not complain nor did it error out when it ran, but you are
correct it does take a BUF_MEM structure. I also added another BIO method to
the code. I also read that section in the book you suggested. I also made
the code simple, but it appears that it still does not give me the base64
"b64" is a filter BIO, it won't hold on to your data. You need to
append a "memory BIO" to the back end of the filter bio so that your
output can be accumulated.
There are samples on how to do this in the OpenSSL book as well as a
rather lengthy discussion on BIO's in general.
Also "BIO_g
Below is the code I
am using to try and test the base64 encode in openssl. I am using rand to
generate a binary and then encoding that to base64. Instead of using a file, I
want to use memory to output the base64 encoded buffer. This code compiles and
runs, but my output buffer is all 0. An
Dear OpenSSL developpers,
I have put a version of openssl that supports the TLS servername extension
into our web server. It is based on a openssl development snapshot of
last week.
We have split of and simplified the code that was done together with SRP
last year, an,d corrected known bugs.
S
> Right, i would like to know point 3 and 6 in detail. What do u mean by
> advertisement. Please explain it in a little detail. Does it have to come in
> About box or what.
You should consider getting a lawyer if you need legal advice.
At any rate, the most common practice is to put the OpenSSL/S
> Many other countries also restrict the export of encryption products.
And some restrict the imports, as well.
/r$
--
Rich Salz Chief Security Architect
DataPower Technology http://www.datapower.com
XS40 XML Security Gateway http://www.datapower.com/produc
I will be out of the office starting 10/13/2005 and will not return until
10/17/2005.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@opens
Hi,
Right, i would like to know point 3 and 6 in detail. What do u mean by
advertisement. Please explain it in a little detail. Does it have to come in
About box or what.
Thank you.
From: Richard Levitte - VMS Whacker <[EMAIL PROTECTED]>
To: openssl-users@openssl.org, [EMAIL PROTECTED]
Subje
In message <[EMAIL PROTECTED]> on Thu, 13 Oct 2005 11:15:33 +0500, "ahmad
hassan" <[EMAIL PROTECTED]> said:
guideveloper123> I am using OpenSSL as a static library with my
guideveloper123> proprietary software for windows OS. I would like to
guideveloper123> know what steps exactly i have to do p
12 matches
Mail list logo