cli.cpp and serv.cpp are minimal programs that establish an SSL session.
What this means is that they are the simplest possible programs that can do
that. (Actually that's a lie. The server could be slightly simpler.)
They don't do client authentication, just server authentication.
What sorts of build errors are you getting? What environment are you trying
to build in, and what tools are you using?
One possible thing to try is to rename or copy the .cpp files to .c files.
The code is not C++, it's C. By using the different names you may cause your
compiler or make tool to make different (maybe correct) assumptions about
the code.
I don't know why the original author named them as he did.
-----Original Message-----
From: Albert Serra [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 16, 2000 10:51 AM
To: [EMAIL PROTECTED]
Subject: Help
Hello to everybody,
I am very lost with Openssl. I want to do a secure authenticated channel
with SSL between a client and a server. ( Has anybody the same problem as
me?) So I have tried to compile cli.cpp and serv.cpp, the trivial examples
given, but for me not so trivial. I have a lot of errors when I compile it.
Could someone kindly tell me which steps I have to follow to compile cli.cpp
and serv.cpp? I have installed it in ./OpenSSL/opensslsun , so how it affect
to the includes /OpenSSL/crypto.h etc.?
Another question, what does it mean that cli.cpp and serv.cpp are the
minimal configuration? What it has to be added?
Thank you in advance
Regards
--
Albert SERRA
===========================================
Integrated Systems Laboratory (DE/LSI-EPFL)
email: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]