sir,
I tried so many times and in so many ways to write
the client/server
applications ON Linux system.But none of them worked
out well.
I even tried the client/server programs that are given
in the "/apps" directory of Openssl.
So iam requesting you to send me an CLIENT/SERVER
application that are written in "C" using the API's of
OpenSSL.
Thanks for consideration.
---Raaj
--- "Barnes, Michael L." <[EMAIL PROTECTED]> wrote:
> Look at the demos under openssl-xxx/demos/ssl there
> is cli.cpp and
> inetd.cpp (they are really c programs, dunno why
> they end in cpp,
> I just renamed them).
>
> If I remember correctly, they compiled fine for me
> by using on
> my system:
>
> gcc -c -I/usr/local/ssl/include cli.c
> gcc -o cli cli.o -L/usr/local/ssl/lib -lcrypto -lssl
>
> and so on, but be sure to substitute /usr/local/ssl/
> for
> wherever your includes and libs are.
>
> Good luck.
>
> Mike
>
> > -----Original Message-----
> > From: Raaj Krissna [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 17, 2000 7:50 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Unable To Install The OPENSSL
> Properly On Linux
> > Systems And
> > Getting The Errors While Running The
> Programs(Client/Server Programs)
> >
> >
> > Sir,
> > I tried what you said.But it didn't worked out.
> > Shall you suggest what i have to do.
> > If possible send me an Client/server application
> > implemented in OPENSSL using "C" API functions.
> > Thanks for your Consideration
> > ---RaajKrissna
> >
>
-------------------------------------------------------
> > >From: Barnes, Michael L.
> > >Subject: RE: Unable To Install The OPENSSL
> Properly
> > >On Linux Systems And Getting The Errors While
> Running
> > >The Programs(Client/Server Programs)
> > >Date: Tue, 16 May 2000 06:28:38 -0700
> >
> >
>
-------------------------------------------------------
> > >Try adding -L/wherever/openssl/libs/are -lcrypto
> > ->lssl to the gcc command.
> >
> > > -----Original Message-----
> > > From: Raaj Krissna
> [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, May 16, 2000 6:17 AM
> > > To: [EMAIL PROTECTED]
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Unable To Install The OPENSSL Properly
> On
> > Linux Systems And
> > > Getting The Errors While Running The
> > Programs(Client/Server Programs)
> > >
> > >
> > > I have tried to install the openssl(version
> > > Feb28,2000: openssl-0.9.5.tar.gz) on my Linux
> > systems.
> > > But it is not properly installed.It means the
> temp
> > > foiles are not installed properly.
> > > I have followed the rules that are given in the
> > > INSTALL file of openssl-0.9.5a tar file( after
> > > gunzip).
> > > The rules that i have followed while the
> > installation
> > > of "openssl-0.9.5.tar.gz" on Linux system are:
> > >
> >
>
-------------------------------------------------------
> > > 1) I loaded the "openssl-0.9.5.tar.gz" in the
> > > "/usr/local" Linux system
> > >
> > > 2)I unzipped(gunzip) the tar file ,then i get a
> > > directory "openssl-o.9.5a".
> > >
> > > 3)I went to "openssl-o.9.5a" directory.
> > >
> > > 4)I executed the following command:
> > > ./config --prefix=/usr/local
> > --openssldir=usr/local
> > >
> > >
> > > /openssl
> > > 5)next i performed the following command:
> > > make
> > > 6) next command:
> > > make test
> > > 7)next command :
> > > make install
> > >
> >
>
-------------------------------------------------------
> > > Now i tried to write some Client/server programs
> and
> > > tried to run them by using "gcc filename.c"
> > > When i run the programs like this iam getting
> the
> > > errors such as :
> > >
> >
>
-------------------------------------------------------
> > > filename.c:17: warning: return type of `main' is
> not
> > > `int'
> > > /tmp/ccuA0iTp.o: In function `main':
> > > /tmp/ccuA0iTp.o(.text+0x11): undefined reference
> to
> >
> > >
> > >
> >
>
`SSLeay_add_err_algorithms'/tmp/ccuA0iTp.o(.text+0x16):
> > > undefined reference to
> > >
> > `SSL_load_error_strings'
> > > /tmp/ccuA0iTp.o(.text+0x1b): undefined reference
> to
> > >
> `SSLv2_client_method'
> > > /tmp/ccuA0iTp.o(.text+0x2f): undefined reference
> to
> > > `SSL_CTX_new'
> > > /tmp/ccuA0iTp.o(.text+0xed): undefined reference
> to
> > > `SSL_new'
> > > /tmp/ccuA0iTp.o(.text+0x11e): undefined
> reference to
> >
> > > `SSL_set_fd'
> > > /tmp/ccuA0iTp.o(.text+0x12d): undefined
> reference to
> >
> > > `SSL_connect'
> > > /tmp/ccuA0iTp.o(.text+0x146): undefined
> reference to
> >
> > >
> `ERR_print_errors_fp'
> > > /tmp/ccuA0iTp.o(.text+0x165): undefined
> reference to
> >
> > > `SSL_write'
> > > /tmp/ccuA0iTp.o(.text+0x17e): undefined
> reference to
> >
> > >
> `ERR_print_errors_fp'
> > > /tmp/ccuA0iTp.o(.text+0x1a4): undefined
> reference to
> >
> > > `SSL_read'
> > > /tmp/ccuA0iTp.o(.text+0x1bd): undefined
> reference to
> >
> > >
> `ERR_print_errors_fp'
> > > /tmp/ccuA0iTp.o(.text+0x1d8): undefined
> reference to
> >
> > > `SSL_shutdown'
> > > /tmp/ccuA0iTp.o(.text+0x1f3): undefined
> reference to
> >
> > > `SSL_free'
> > > /tmp/ccuA0iTp.o(.text+0x202): undefined
> reference to
> >
> > >
> > `SSL_CTX_free'collect2:
> > > ld returned 1 exit status
> > >
> >
>
-------------------------------------------------------
> > > Please give me the suggestions
> > > Thank you
> > > RaajKrissna
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send instant messages & get email alerts with
> Yahoo! Messenger.
> > http://im.yahoo.com/
> >
>
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]