Re: Samples

2006-04-01 Thread Vanessa Campos
Thanks for the help. Now, I'm trying to build the samples and I'm getting link errors: [Linker Error] Unresolved external '_SSL_library_init' referenced from C:\ARQUIVOS DE PROGRAMAS\BORLAND\CBUILDER5\PROJECTS\TESTE\TSERVER.OBJ [Linker Error] Unresolved external 

Re: Samples

2006-03-29 Thread Bernhard Froehlich
Vanessa Campos wrote: Hi, I'm starting to use openssl now. Does anyone know where I can find some sample code using openssl (a simple client / server sample) so I could see how it works. I'm tring to read the docs, but it'd be less complicated to me if I could see a real one working. Try htt

Samples - C++

2006-03-29 Thread Vanessa Campos
Hi, I'm starting to use openssl now. Does anyone know where I can find some sample code using openssl (a simple client / server sample) so I could see how it works. I'm tring to read the docs, but it'd be less complicated to me if I could see a real one working. Sorry, I forgot to tell: I'm worki

Samples

2006-03-29 Thread Vanessa Campos
Hi, I'm starting to use openssl now. Does anyone know where I can find some sample code using openssl (a simple client / server sample) so I could see how it works. I'm tring to read the docs, but it'd be less complicated to me if I could see a real one working. Thanks, Vanessa Campos [EMAIL PR

Re: SSL samples under win32

2001-02-06 Thread lucian
I used free() for dealocation stuff, because Free() isn't any more in windows. I have win nt and things seem to work fine. But let me make some tests tomorrow. Ok? The real problem for me are client_s and server_s witch could not work on my win nt machine. I think that those examples are made to w

Re: SSL samples under win32

2001-02-06 Thread Gleison Santos
Hi, The problem is in your Makefile (include order of ssl and crypto). Try a Makefile something like: CC=gcc CFLAGS= -g -I../../include -I../../ssl -I../../crypto -Wall LIBS= -L../.. -lssl -lcrypto EXAMPLES=cli all: $(EXAMPLES) cli: cli.o $(CC) cli.o -o cli $(LIBS) clean: rm -f $(EXAMPLES

Re: SSL samples under win32

2001-02-06 Thread Juan Carlos Castro y Castro
No, the space is allocated by X509_NAME_oneline(). In the demo source, it's deallocated by Free() (with a capital F), but this function is not available in Win32. Using free() (lowercase F) causes a GPF. My doubt is, what should I use? Juan lucian wrote: > Hi Juan! > I spretty simple: with free

SSL samples under win32

2001-02-05 Thread Juan Carlos Castro y Castro
Hi. Trying to compile the cli.cpp (is a .c actually) sample under Win32 (VC5), I find out it uses a function called Free() to deallocate the strings returned by the query server certificate functions -- there's no such function available. free(), with a lowercase f, GPFs the program. How do I deal