Re: COMP_zlibd don't return a valid method

2005-08-19 Thread prakash babu
  Hello Ignacio,  You can also use the installed libraries but make sure that your program uses them   # gmake install #  gcc test.c -L -I -lssl -lcrypto -lz -ldl   thanks, PrakashIgnacio Butler <[EMAIL PROTECTED]> wrote: thank you, it worked!but, why don't use the installed openssl library and i h

Re: COMP_zlibd don't return a valid method

2005-08-18 Thread Ignacio Butler
thank you, it worked! but, why don't use the installed openssl library and i have to put the source directory? thanks ignacio On 8/17/05, prakash babu <[EMAIL PROTECTED]> wrote: > Hi Ignacio , > > I think that the problem is that your are not linking the appropriate > libraries. > > Try th

Re: COMP_zlibd don't return a valid method

2005-08-17 Thread prakash babu
Hi Ignacio ,   I think that the problem is that your are not linking the appropriate libraries. Try the following steps  # ./config zlib #  gmake #  gcc test.c -L -I -lssl -lcrypto -lz -ldl #./a.out compression name: zlib compression Your Method #gcc test.c -lssl -lcrypto //this will use the crypt

Re: COMP_zlibd don't return a valid method

2005-08-16 Thread Ignacio Butler
hi, well, i'm using Linux, with a 2.4.xx kernel and the 0.9.8 version of the ssl library, to compile it i do: gcc -o master master.c -lssl -lcrypto -lpthread (same as you do it) i've compiled the library configurating using "./config zlib" the library is compiled with this parameter... thanks p

Re: COMP_zlibd don't return a valid method

2005-08-16 Thread prakash babu
Hello Ignacio,      I tried the program you attached and it seems to work fine .   #include #include int main(){COMP_METHOD *comp_method;comp_method = COMP_zlib();if(comp_method != NULL)    {    printf("compression name: %s\n", (comp_method->name !=NULL? comp_met

COMP_zlibd don't return a valid method

2005-08-08 Thread Ignacio Butler
Hello, first of all, sorry by my english... The problem is, i have started to develop a simple application that uses SSL with compression, but when i try to add the zlib compression method to my server it is imposible the code that i use is: comp_method = COMP_zlib(); if(comp_m